Commit Graph

183 Commits

Author SHA1 Message Date
Mika Suomalainen
23e62cf01b bashrc & zshrc: Use gpg2 instead of gpg!. 2012-04-01 17:21:38 +03:00
Mika Suomalainen
44ea2c5d89 bashrc & zshrc: Add $HOME/.local to $PATH.
1. "python setup.py install --user" installs to .local.
2. Run command "ls /usr/local && ls ~/.local" and compare the two lines.

Output of the second command is
> bin  etc  games  include  lib  man  sbin  share  src
> share
for me.
2012-03-31 17:43:49 +03:00
Mika Suomalainen
e86460b780 bashrc & zshrc: alias apt-get to aptitude.
Oops, now I took side in flamewar between apt-get and aptitude.
2012-03-23 18:19:24 +02:00
Mika Suomalainen
670d409ae5 Remove visudo related aliases.
They broke arguments.
2012-01-29 09:23:13 +02:00
nyuszika7h
af15c7b3fa bashrc, zshrc: Add -h and --progress to rsync aliases
From rsync(1):
        -h, --human-readable        output numbers in a human-readable format
            --progress              show progress during transfer
2012-01-10 17:27:35 +02:00
nyuszika7h
a4ed66884b Remove executable bit from files
None of these files have to be executable - and who wants
an executable README file? :P
2012-01-10 17:27:35 +02:00
nyuszika7h
0bd04767ac bashrc & zshrc: Add gitio function.
Like the name says, it shortens URLs with git.io.
2012-01-06 20:24:36 +02:00
Mika Suomalainen
3793f39c34 bashrc & zshrc: SSHGuard and multiple keys are trying to make people crazy.
But what if ssh-add is always told to remove keys, before adding new ones?

By the way, Happy new year 2012 (even if it's only 22:12), because this is my last commit tonight,
unles people at IRC get me to commit something else ;)
2011-12-31 22:11:01 +02:00
Mika Suomalainen
894b38dff2 bashrc & zshrc: Fix comment about editor, which I am using.
I am Vim user nowadays.

By the way, Vim seems to have nice syntax highlighting even with git commits.

nyuszika7h: Do you happen to have good suggestions to my vimrc? :P
^^ is ping to my channel.

I think that I might commit my gitconfig and vimrc soon too.
2011-12-31 21:11:57 +02:00
Mika Suomalainen
f6b8bbdd53 bashrc & zshrc: Do same what nyuszika7h did in previous commit, but with screen. 2011-12-29 11:20:01 +02:00
nyuszika7h
16427e3cc9 zshrc & bashrc: Add colours if $TERM is xterm. 2011-12-29 11:18:28 +02:00
Mika Suomalainen
a30773bf1e zshrc & bashrc: add alias rsync-folder.
Thanks to all people at ##Mkaysi who helped me to choose this name ☺.
2011-12-25 17:51:34 +02:00
nyuszika7h
82df6ba735 zshrc & bashrc: Simplify supybot-generate-messages.pot-xgettext.
xgettext --language=Python config.py plugin.py && cat messages.po > messages.pot && rm messages.po
vs
xgettext --language=Python config.py plugin.py && mv -f messages.po messages.pot
2011-12-23 10:41:15 +02:00
Mika Suomalainen
df96885b0e zshrc: Fix previous commit.
It seems that I accidentally removed one quote.
2011-12-22 19:13:40 +02:00
Mika Suomalainen
91d70af885 zshrc % bashrc: Fix previous commit.
Removed % which I accidentally pasted from zsh.
2011-12-22 19:10:25 +02:00
Mika Suomalainen
0d1e8c4c0d bashrc & zshrc: Add xgettext version of supybot-generate-messages.pot.
It's supybot-generate-messages.pot-xgettext. I made separate alias, because
xgettext doesn't seem to work with Unix plugin.
2011-12-22 19:04:11 +02:00
Mika Suomalainen
f0498fffd3 Merge branch 'master' of github.com:Mkaysi/shell-things 2011-12-21 20:25:12 +02:00
Mika Suomalainen
1d4350b72a Fix alias supybot-generate-messages.pot.
That alias was missing s and that probably caused catastroph b5feac3e28 (diff-0) .
2011-12-21 20:23:06 +02:00
Mika Suomalainen
fb1c1db353 bashrc & zshrc: add KILL alias.
killall -KILL takes too long time to write.
2011-11-12 20:42:26 +02:00
Mika Suomalainen
24d616475a zshrc: Move everything to one file. 2011-10-29 10:50:56 +03:00
Mika Suomalainen
b5f8d86eb3 zshrc & README: Remove notices in README and add warning to zshrc.
Notices in README file had old line numberings anyway.
2011-10-23 10:49:08 +03:00
Mika Suomalainen
ad3db531a8 zshrc: Do not bold the current command. (It also bolded the output and that was annoying.) 2011-10-22 20:49:00 +03:00
nyuszika7h
6f99fc7454 zshrc: Bold the command which is being written. 2011-10-22 20:46:58 +03:00
nyuszika7h
5d580458cd zshrc: Use green for normal user and red for root. 2011-10-22 20:44:51 +03:00
nyuszika7h
c0d33277d0 zshrc: Make theme look more like theme in bash-things, but reserve other line for commands. 2011-10-22 20:09:35 +03:00
Mika Suomalainen
970abc6b81 zshrc: Fixed sourcing of zsh_custom 2011-10-02 17:22:09 +03:00
Mika Suomalainen
79e4cf3eae zshrc: Added sourcing for zsh_custom if present.
zsh_custom will be sourced if it exists. I sometimes need something which
isn't part of any file and must be only on that one computer.
2011-10-02 17:05:17 +03:00
Mika Suomalainen
8f5a2e86de zshrc: More intelligent sourcing. 2011-10-01 16:32:18 +03:00
Mika Suomalainen
a6df36aa40 added zsh_tmux 2011-10-01 16:14:11 +03:00
Mika Suomalainen
3d24df5199 zshrc: Why to sleep if there aren't anything which should be aborted on startup?
It seems that I forgot to comment sleeping.
2011-09-30 14:55:48 +03:00
Mika Suomalainen
b9e2ddf538 zshrc: Do not start tmux at startup of zsh.
I have noticed that it can be very annoying.
2011-09-30 13:57:54 +03:00
Mika Suomalainen
802c0da6af Rename zsh_exports to zshenv.
zshenv is sourced by every zsh (not only interactive sessions, scripts too).
Content of this file is what I probably want scripts to use too. Scripts
probably don't things like aliases.
2011-09-29 16:41:13 +03:00
Mika Suomalainen
993f162a2f Forked bash-things to zsh-things. Converted everything to work with zsh.
Some things can be little weird because moving is still going on.
2011-09-29 15:25:05 +03:00