Commit Graph

557 Commits

Author SHA1 Message Date
Mika Suomalainen
243e8bb050 bashrc & zshrc: fix supybot-generate-messages.pot, I hope. 2012-04-15 18:46:00 +03:00
Mika Suomalainen
a3dded237d bashrc & zshrc: Fix .
Thank you for xy for mentioning about this. I have always wondered why . doesn't work :)
2012-04-10 19:15:53 +03:00
Mika Suomalainen
cbae2b25ed xsessionrc: I just remembered that I have nice file called ~/.environment 2012-04-04 14:06:03 +03:00
Mika Suomalainen
c930435706 gpg.conf: If gpg-agent is started, why to not use it? 2012-04-04 14:04:32 +03:00
Mika Suomalainen
2274e8bee0 xsessionrc: Start gpg agent! 2012-04-04 13:52:03 +03:00
Mika Suomalainen
7ec7394ba6 xsessionrc: source ~/.xcustom for customizations. 2012-04-04 10:16:52 +03:00
Mika Suomalainen
d33c6cdfa8 bashrc: add the missing /bin to PATH 2012-04-03 13:23:22 +03:00
Mika Suomalainen
a0636ae619 s/.packages/.local/
Affects to all previous commits.
2012-04-03 13:21:19 +03:00
Mika Suomalainen
9853365a9b xsessionrc: Add $HOME/.local to $PATH. 2012-04-03 13:18:29 +03:00
Mika Suomalainen
23aadf9f87 bashrc & zshrc: Use $HOME/.packages as the first PATH and then others.
/usr/local/bin seems to be the preferred PATH by default.
2012-04-03 13:16:36 +03:00
Mika Suomalainen
b815b63f5b zshrc: Add workaround for missing gpg2 completions. 2012-04-01 18:15:30 +03:00
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
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