Commit Graph

268 Commits

Author SHA1 Message Date
Mikaela Suomalainen
6205f7a6db bashrc & zshrc: remove trailing ":" from $PATH.
Source: first comment to the answer linked in this file.
2014-06-15 10:03:20 +03:00
Mikaela Suomalainen
d9527e7215 bashrc & zshrc: add alias "maken".
* `make -j$NPROC`
2014-06-07 19:53:29 +03:00
Mikaela Suomalainen
901f41a9b4 bashrc & zshrc: add alias peminfo (shows information on .pem file).
It seems that autoretab happened too.
2014-06-05 16:36:20 +03:00
Mikaela Suomalainen
c86e1c496f bashrc & zshrc: remove make mess.
npm is failing, because of it.
2014-05-31 14:34:58 +03:00
Mikaela Suomalainen
140beca6af bashrc & zshrc: add aliases isodate & isodateu.
They show date in ISO 8601 format.
2014-05-31 00:02:01 +03:00
Mikaela Suomalainen
885447efe8 fix previous commit 2014-05-30 00:01:03 +03:00
Mikaela Suomalainen
a2f59accb2 bashrc & zshrc: add aliases for showing changelog.
* git-changelog
* git-changelog-color
2014-05-29 23:56:44 +03:00
Mikaela Suomalainen
f5f62492ec bashrc & zshrc: fix supybot aliases. 2014-05-29 20:45:17 +03:00
Mikaela Suomalainen
a502ad5201 bashrc & zshrc: don't repeat the PATH so much.
Copied from http://unix.stackexchange.com/a/14896 .
2014-05-29 20:28:25 +03:00
Mikaela Suomalainen
418bb8662f bashrc & zshrc: read through.
Changes can be seen in the diff and I the only thing I checked is that
bash and zsh start without errors.
2014-05-29 16:02:08 +03:00
Mikaela Suomalainen
e51dec19b0 bashrc & zshrc: add alias gpg-fix-tty. 2014-05-28 19:20:12 +03:00
Mikaela Suomalainen
f896c88e89 bashrc & zshrc: don't wait for hostname, uptime & who & last. 2014-05-23 09:49:50 +03:00
Mikaela Suomalainen
b34475c13c bashrc & zshrc: dd some stupid aliases. 2014-05-22 15:05:16 +03:00
Mikaela Suomalainen
bf2f30260f fix reset-unity 2014-05-22 12:11:44 +03:00
Mikaela Suomalainen
3d75971df5 bashrc & zshrc: add reset- aliases. Closes #29 . 2014-05-22 12:05:13 +03:00
Mikaela Suomalainen
38a58a954e bashrc & zshrc: use $() instead of ``. Closes #30 . 2014-05-22 11:31:14 +03:00
Mikaela Suomalainen
728c90529e bashrc & zshrc: use -F instead of -f with tail in follow alias. 2014-05-16 17:30:09 +03:00
Mikaela Suomalainen
4b9d243237 set MAKE_OPTS 2014-05-16 16:11:27 +03:00
Mikaela Suomalainen
dfa3b55d0f bashrc & zshrc: unset MAKE.
Closes #28 .
2014-05-16 16:08:50 +03:00
Mikaela Suomalainen
045b15faf4 Fix #22. Use find instead of locate. 2014-05-13 16:39:06 +03:00
Mikaela Suomalainen
483da09e60 bashrc: Fix #26 .
I replaced bashrc version of fix-node with "which fix-node" output from zsh.
2014-05-13 16:21:15 +03:00
Mikaela Suomalainen
bc966efe0b bashrc & zshrc: convert osx-functions to aliases.
defaults has sanity checks, I belive.
2014-05-13 15:58:09 +03:00
Mikaela Suomalainen
2077958ac1 bashrc & zshrc: remove my if from osx-functions. 2014-05-13 15:43:18 +03:00
Mikaela Suomalainen
808588969d bashrc & zshrc: os-x-server-caching-interface --> osx-server-caching-interface
Like the other functions and commands are.
2014-05-13 15:41:07 +03:00
Mikaela Suomalainen
ad49056022 bashrc & zshrc: Fix #24 .
OS X settings aren't set automatically anymore, they are now three
different functions.

osx-show-hidden-files
osx-airdrop-listenall
osx-set-updatecheck
2014-05-13 15:34:24 +03:00
Mikaela Suomalainen
c5efaf17c7 bashrc & zshrc: add fix-node function. Closes #23 . 2014-05-13 13:07:04 +03:00
Mikaela Suomalainen
83ccf48080 bashrc & zshrc: add aliases pythonX-httpd. Closes #17 . 2014-05-13 12:41:26 +03:00
Mikaela Suomalainen
c39b2470d7 bashrc & zshrc: rename os-x-caching-interface to os-x-server-caching-interface 2014-05-13 12:38:07 +03:00
Mikaela Suomalainen
21fd7af642 bashrc & zshrc: add function to download sources.list for Ubuntu. 2014-05-13 12:34:11 +03:00
Mikaela Suomalainen
e4da11776a bashrc & zshrc: ssh-add: use keyring with OS X.
Via https://help.github.com/articles/working-with-ssh-key-passphrases#platform-mac
2014-05-08 19:31:25 +03:00
Mikaela Suomalainen
49be36c9a6 fix previous commit 2014-05-06 17:28:13 +03:00
Mikaela Suomalainen
8638a420bc bashrc & zshrc: fix #20 I hope.
Same output which nproc gives can be got with "sysctl -n hw.ncpu".
2014-05-06 17:26:00 +03:00
Mikaela Suomalainen
b4ece3743b bashrc & zshrc: add function shell-things. Closes #21. 2014-05-06 17:12:33 +03:00
Mikaela Suomalainen
1e06d4db5f bashrc & zshrc: use all cores for make. 2014-05-04 16:43:24 +03:00
Mikaela Suomalainen
7b119d2ba2 bashrc & zshrc: fix pyenv PATH. 2014-05-03 16:56:48 +03:00
Mikaela Suomalainen
5b3bb32ee1 bashrc & zshrc: limit who to 10 lines too. 2014-05-03 12:29:26 +03:00
Mikaela Suomalainen
1eac4252ef bashrc & zshrc: add last 2014-05-03 12:20:38 +03:00
Mikaela Suomalainen
e5c323d0a0 bashrc & zshrc: alias os-x-caching-interface for setting caching server interface. 2014-05-01 18:21:08 +03:00
Mikaela Suomalainen
9f270b438d bashrc & zshrc: add colours to ls on OS X. 2014-05-01 15:24:52 +03:00
Mikaela Suomalainen
5fa0f73979 bashrc & zshrc: add / after directories in ls on OS X. 2014-05-01 15:07:12 +03:00
Mikaela Suomalainen
652437282d bashrc & zshrc: ls colours
Via https://apple.stackexchange.com/questions/33677/how-can-i-configure-mac-terminal-to-have-color-ls-output
2014-05-01 14:55:01 +03:00
Mikaela Suomalainen
050e1fd7ec bashrc & zshrc: OS X fixes. 2014-05-01 14:50:14 +03:00
Mikaela Suomalainen
c2b0bcb8db bashrc & zshrc: fix homebrew-install 2014-05-01 13:55:44 +03:00
Mikaela Suomalainen
632c4e8e56 bashrc & zshrc: fix one of homebrew errors. 2014-04-30 22:57:13 +03:00
Mikaela Suomalainen
d7a52ad82f bashrc & zshrc: add homebrew-install for OS X. 2014-04-30 22:50:44 +03:00
Mikaela Suomalainen
8b4248c53c bashrc & zshrc: fix pyenv-install 2014-04-30 21:53:00 +03:00
Mikaela Suomalainen
d6a94566c9 bashrc & zshrc: pyenv is better than lpip. 2014-04-30 20:46:02 +03:00
Mikaela Suomalainen
e9fc643d32 bashrc & zshrc: use pyenv-installer instead of my alias. 2014-04-29 15:47:53 +03:00
Mikaela Suomalainen
0f301848ff bashrc & zshrc: check that we have pyenv before trying to apply it. 2014-04-29 15:29:50 +03:00
Mikaela Suomalainen
77c2a6f864 fix previous commit 2014-04-29 15:25:52 +03:00
Mikaela Suomalainen
0b4178a598 bashrc & zshrc: configure for pyenv. 2014-04-29 15:23:54 +03:00
Mikaela Suomalainen
d646353eb2 fix previous commit 2014-04-21 11:13:02 +03:00
Mikaela Suomalainen
f98f9a9fca bashrc & zshrc: make aptitude suggest apt-* for me. 2014-04-21 10:18:41 +03:00
Mikaela Suomalainen
f71637fcaa bashrc & zshrc: enable apt progress bar from apt man page.
·   The option DPkgPM::Progress-Fancy is enabled.
2014-04-21 10:11:33 +03:00
Mikaela Suomalainen
d40f136141 bashrc & zshrc: comment lines aliasing apt-* and aptitude to apt.
apt doesn't have anything else nice than colours and progress bar and
they are enabled to aptitude and apt-* by shell-things now.
2014-04-20 21:54:29 +03:00
Mikaela Suomalainen
c34279aad8 bashrc & zshrc: enable apt colours. 2014-04-20 21:39:30 +03:00
Mikaela Suomalainen
f2180e81bb bashrc & zshrc: don't install with lpip*!
I have put install there accidentally, I think.
2014-04-20 20:53:52 +03:00
Mikaela Suomalainen
65b7b67938 bashrc & zshrc: there is probably no reason to do same with Fedora.
If dnf exists, alias yum=dnf .
2014-04-20 18:07:32 +03:00
Mikaela Suomalainen
d3534b1370 bashrc & zshrc: if apt exists, use it!
Alias aptitude, apt-get and apt-cache to apt if /usr/bin/apt exists.
2014-04-20 13:12:54 +03:00
Mikaela Suomalainen
fe2f84234f bashrc & zshrc: fix my weird apt*up aliases that I haven't ever used. 2014-04-20 13:04:56 +03:00
Mikaela Suomalainen
38f87d6933 bashrc & zshrc: enable apt process bar.
If we are as root, mkdir -p /etc/apt/apt.conf.d and run the command
echo 'Dpkg::Progress-Fancy "1";' > /etc/apt/apt.conf.d/99progressbar .

This is untested and I am unsure what does OS X think about this, but I
don't have OS X anywhere, so I might not care about it so much.
2014-04-20 12:37:56 +03:00
Mikaela Suomalainen
112f31e6f1 bashrc & zshrc: ugly hack
Attempts to fix FINEID related aliases on non-32-bit systems.
2014-04-14 18:56:24 +03:00
Mikaela Suomalainen
c4ac3b9a8a bashrc & zshrc: add aliases related to fineid
ssh-add-sc adds identity card to ssh-agent.

ssh-add-sc-pub shows the public keys of identity-card.
2014-04-14 18:40:47 +03:00
Mikaela Suomalainen
4b91b5bdb6 bashrc & zshrc: add lmosha for telling mosh to use custom script as server.
This should fix local mosh at lakka.kapsi.fi.
2014-03-20 19:48:10 +02:00
Mikaela Suomalainen
c108b78939 fix previous commit
I don't want anyone to get stuck in /usr/local !
2014-03-18 11:23:25 +02:00
Mikaela Suomalainen
be300bcaba fix previous commit
Change && to ; so the man pages get installed even if inxi is already
installed. This command should only be ran while installing.
2014-03-18 10:24:35 +02:00
Mikaela Suomalainen
03d34531b4 bashrc & zshrc: fix inxi-install-root
Update inxi immediately after installation in order to install the
manual pages.
2014-03-18 10:20:42 +02:00
Mikaela Suomalainen
230be35525 bashrc & zshrc: add alias lpip3 (see previous commit). 2014-03-11 17:25:59 +02:00
Mikaela Suomalainen
a31a7b98fd bashrc & zshrc: add alias lpip to install packages locally.
locally = to one user ( $HOME/.local )
2014-03-11 17:17:37 +02:00
Mikaela Suomalainen
62c0c01745 bashrc & zshrc: exporting
Read the line above those...
2014-01-29 20:50:26 +02:00
Mikaela Suomalainen
e7ed943f82 bashrc & zshrc: add $HOME/tmcbeans/bin to $PATH
Required by MOOC ("MASSIVE OPEN ONLINE COURSES").
http://mooc.fi/
2014-01-24 17:32:35 +02:00
Mikaela Suomalainen
10d377f7cf bashrc & zshrc: if /usr/bin/xset exists, xset -b on
To enable beeping...
2014-01-22 22:08:38 +02:00
Mikaela Suomalainen
0a98c62d66 bashrc & zshrc: playing around with environment.
$beep and $BEEP

2014-01-15 14:28:44 +02:00
Mikaela Suomalainen
4f2ebc409d bashrc & zshrc: remove alias weechat=weechat-curses
Starting with version 0.4.2 the binary is called as weechat
and weechat-curses is symbolic link to it for compatibility.
2014-01-14 21:34:37 +02:00
Mikaela Suomalainen
14a1608707 bashrc & zshrc: fix alias inxi-install & add alias inxi-install-root
1. Previously the Alias failed if the directory ~/.local/bin didn't exist.
2. Add Alias inxi-install-root for global installation as root.
2014-01-14 19:08:53 +02:00
Mikaela Suomalainen
cb13e192a2 bashrc & zshrc: add inxi-install & inxi-update
Thanks to their easy installation instructions at https://code.google.com/p/inxi/wiki/Installation :)
2014-01-08 21:18:57 +02:00
Mika Suomalainen
6f6945bba5 bashrc & zshrc: alias ffmpeg to avconv 2013-05-06 17:20:36 +03:00
Mika Suomalainen
8df8156748 bashrc: allias is not a valid command. 2013-05-06 12:07:16 +03:00
Mika Suomalainen
5a7f8ee5b9 fix previous commit
sysctl -f is needed for the update to take effect.
2013-04-26 14:01:50 +03:00
Mika Suomalainen
3ce88cd414 bashrc & zshrc: add alias fcorepattern & aptitudeyup...
fcorepattern sets core file name as I want and aptitudeyup is
aptitude version of aptyup.
2013-04-26 14:00:13 +03:00
Mika Suomalainen
361c4e9587 fix previous commit 2013-04-15 12:23:44 +03:00
Mika Suomalainen
57d303f8b6 bashrc & zshrc: add apt-gety & aptitudey.
Debian side of yumyup.
2013-04-10 16:57:55 +03:00
Mika Suomalainen
4e788589e4 bashrc & zshrc: add upgrade aliases 2013-02-27 10:50:43 +02:00
Mika Suomalainen
81fd395637 bashrc & zshrc: duplicate some aliases that would be useful if I...
...remembered them.
2013-02-24 10:03:32 +02:00
Mika Suomalainen
628cb6d8d8 bashrc & zshrc: don't run who on Mac 2013-02-17 09:11:44 +02:00
Mika Suomalainen
d097b1a170 bashrc & zshrc: run visible commands on different lines
Meaning hostname, uptime and who
2013-02-17 09:06:07 +02:00
Mika Suomalainen
b6062f7f76 bashrc & zshrc: add empty line between output of uptime & who 2013-02-17 09:04:22 +02:00
Mika Suomalainen
8f67584df0 bashrc & zshrc: send output of ssh-agent to /dev/null 2013-02-17 09:02:07 +02:00
Mika Suomalainen
29c9cab7ae bashrc & zshrc: I am seeing messages even with that if-else... 2013-02-16 10:29:01 +02:00
Mika Suomalainen
7ecda2f30e bashrc & zshrc: make ssh-agent work on SSH sessions 2013-02-16 10:11:40 +02:00
Mika Suomalainen
c5a4ec0791 bashrc & zshrc: add "cwho" to commads run on start 2013-02-16 09:56:00 +02:00
Mika Suomalainen
302a796964 bashrc & zshrc: add alias cwho which is what I use with conky. 2013-02-16 09:52:19 +02:00
Mika Suomalainen
125863565c do not set display 2013-02-10 20:34:50 +02:00
Mika Suomalainen
5146f94d1a bashrc & zshrc: add alias rss for reset.
It's easier to type using phone or tablet with VX Connectbot. I have
need to reset on those devices very often.
2013-02-10 13:12:52 +02:00
Mika Suomalainen
444acd5675 bashrc & zshrc: add alias weechat-version for displaying weechat comp...
...ile date / commit id. Fixes #15
2013-02-06 16:23:20 +02:00
Mika Suomalainen
3fb4466035 bashrc: fix ssu alias to allow becoming other u...
...sers than root.
2013-02-04 16:09:24 +02:00
Mika Suomalainen
9403ab5bb6 add suu* alias.
Suu is Finnish and means mouth.
2013-02-04 10:52:58 +02:00
Mika Suomalainen
4aeda02bc8 bashrc & xsessionrc & zshrc: fix $PATH 2013-02-02 18:26:32 +02:00
Mika Suomalainen
9dce46734a fix previous commit 2013-01-19 12:30:25 +02:00
Mika Suomalainen
f01c4e46e0 bashrc & zshrc: add aliases to prefer curl in fedora utils & install fedora utils 2013-01-19 11:21:56 +02:00