Commit Graph

3145 Commits

Author SHA1 Message Date
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
e21ac92020 gpg.conf: update the key. 2012-03-27 12:50:22 +03:00
Mika Suomalainen
13e4ef8060 .cat.sh: Fix potential error "keyserver not specified". 2012-03-24 12:50:05 +02: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
07a621c9df vimrc: Use light background with gvim. 2012-03-23 18:13:17 +02:00
Mika Suomalainen
6981d88959 .cat.sh: Update to include gpg.conf
gpg.conf has moved to shell-things.
2012-03-22 14:48:15 +02:00
Mika Suomalainen
e846cf9650 add gpg.conf.
It's enough related to shell-things.
2012-03-22 14:45:01 +02:00
Mika Suomalainen
44247353f7 tmux.conf: mode-mouse is making me crazy.
I always need to disable it. It causes more problems than solves them.
2012-03-10 19:58:04 +02:00
Mika Suomalainen
a0b344be53 What was that file? 2012-01-29 09:23:42 +02:00
Mika Suomalainen
670d409ae5 Remove visudo related aliases.
They broke arguments.
2012-01-29 09:23:13 +02:00
Mika Suomalainen
d92952c9f2 .cat.sh: add automatic restarting of shell.
exec $SHELL

Also add vim modeline ;)
2012-01-10 17:43:12 +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
Mika Suomalainen
dd0acb347b vimrc: Disable mouse.
It doesn̈́'t want to cooperate with me :(
2012-01-06 20:25:25 +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
47d53949cf vimrc: Do some things. (See full commit message).
1. Disable Vi compatibility.
2. Enable smartcase.
3. Enable hidden
    Copied from
http://items.sjbach.com/319/configuring-vim-right
4, Set leader key as ,
5. Enable longer history.
6. Extend % matching.
7. Make tab filler more useful.
8. Set terminal title (it will probably help with
    tmux)
9. Set visualbell to not get Vim beep very much
    mode :)
2012-01-06 11:56:50 +02:00
Mika Suomalainen
b83c30f045 vimrc: Done several things. (See full commit msg!)
1. Enable modelines.
2. Add some weird function.
3. Make tab to be 4 spaces.
4. Enabled autoindent

And probably something else.

This vimrc is now set like gedit used to be and
is ready for the challenge.
2012-01-01 12:11:15 +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
8db4706d45 vimrc: Add my vimrc to this shell-things.
Thank you for everyone who I have copied in this :)
(Debian /usr/vim/vimrc and nyuszika7h)
2011-12-31 21:40:19 +02:00
Mika Suomalainen
02f594ae4a gitconfig: First commit.
It doesn't have user nor github blocks, see http://help.github.com/ for help about adding them.

I am probably soon committing my vimrc too.
2011-12-31 21:28:31 +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
5440d29980 Added hidden .cat.sh to automatically cat these files to correct places.
This script is hidden, because it shouldn't be used unless the user
is fully sure about what he/she is doing, because it can cause data
loss by overwriting all bashrc, zshrc and tmux.conf.
2011-12-29 11:23:18 +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
Mika Suomalainen
0522e89e99 README: Remove GitHub gist from original sources.
This repo wasn't ever in gist.
2011-12-23 15:55:51 +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
27b1c14118 tmux.conf: Use screen-256color as $TERM .
It might have nicer colours, but I don't know.
2011-12-03 17:13:15 +02:00
Mika Suomalainen
7efe627768 bashrc: Removed the > which is annoying to bash users. 2011-11-25 14:10:39 +02:00
Mika Suomalainen
ab9f6a213c tmux.conf: enable mouse 2011-11-14 17:07:53 +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
748090b325 Added push.sh to gitignore. 2011-11-06 12:52:36 +02:00
Mika Suomalainen
50b8ce7343 bashrc: Tell bash_profile to source .bashrc. Mac OS X... SSH sessions...
NOTE: bashrc must be sourced by hand at least once.
2011-10-29 16:52:37 +03:00
Mika Suomalainen
83bf25982b bashrc: What is bashenv? 2011-10-29 16:49:14 +03:00
Mika Suomalainen
41bfca86d3 bashrc: If zshrc is thanking nyuszika7h about colours, bashrc is thanking him too. 2011-10-29 12:32:34 +03:00
nyuszika7h
dab65be727 bashrc: Light green for normal user and red for root, like with zsh. 2011-10-29 12:31:14 +03:00
Mika Suomalainen
53a541825b README: This repo has been renamed. 2011-10-29 11:08:46 +03:00
Mika Suomalainen
ac10aa74e1 Add tmux.conf. 2011-10-29 11:03:56 +03:00
Mika Suomalainen
c3fc18843e bashrc: Save from bash-things && bashrc: update from zshrc. 2011-10-29 11:02:22 +03:00
Mika Suomalainen
6d0148d523 README: This repository isn't only for zshrc anymore. 2011-10-29 10:56:41 +03:00
Mika Suomalainen
fd4b131fc8 Update README and remove unrequired files. 2011-10-29 10:53:34 +03:00
Mika Suomalainen
24d616475a zshrc: Move everything to one file. 2011-10-29 10:50:56 +03:00
Mika Suomalainen
478ca565b6 zsh_aliases: add sshguard-show-bans and sshguard-unban. 2011-10-28 20:05:40 +03:00
Mika Suomalainen
5b640c53b6 zsh_aliases: Fix previous commit (one quote was missing). 2011-10-26 21:14:22 +03:00
Mika Suomalainen
f21b07af0d zsh_aliases: Added alias for generating messages.pot files for Limnoria. https://github.com/ProgVal/Limnoria/ 2011-10-26 21:11:27 +03:00