Commit Graph

61 Commits

Author SHA1 Message Date
Mika Suomalainen
794584ae89 bashrc: Multiple changes.
If someone is interested, read the diff, it exists.
2012-04-30 19:06:34 +03:00
nyuszika7h
06242df743 Fix commit 04920736d9d931f63a11946bcae95341e5a83ab5 2012-04-24 17:49:18 +03:00
nyuszika7h
4377a3a494 bashrc, zshrc: Add functions mkcd and gribble-gpg-everify
mkcd: Create the specified directory/-ies and change to the first one.
gribble-gpg-everify: Decrypt encrypted Bitcoin OTC from gribble and print everify command
2012-04-24 17:49:02 +03:00
Mika Suomalainen
48a9e788b2 bashrc & zshrc: Don't exec tmux.
I have started to find that behaviour as annoying.
2012-04-21 14:40:16 +03:00
Mika Suomalainen
2f88817113 bashrc & zshrc: Remove stupid "time" alias.
I finally understand what that command does.
2012-04-20 12:46:37 +03:00
Mika Suomalainen
1d05f1167d bashrc & zshrc: don't check for new mail.
I HATE MAILCHECK! It crashed my WeeChat -.- :(
2012-04-18 20:40:20 +03:00
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
d33c6cdfa8 bashrc: add the missing /bin to PATH 2012-04-03 13:23:22 +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
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
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
7efe627768 bashrc: Removed the > which is annoying to bash users. 2011-11-25 14:10:39 +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
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
c3fc18843e bashrc: Save from bash-things && bashrc: update from zshrc. 2011-10-29 11:02:22 +03:00
Mika Suomalainen
166f1ae2d1 Files from bash: Are you little lost? 2011-09-29 16:19:01 +03:00
Mika Suomalainen
83461460f0 removed bash private aliases from everywhere where it still was.
Useless file.
2011-09-28 22:01:19 +03:00
Mika Suomalainen
8528d3b652 bashrc: Sleep of three seconds is too long, 2011-09-22 14:27:44 +03:00
Mika Suomalainen
ac6a56df93 bashrc: How can I have forgotten to add original source where I modified tmux script? :O 2011-09-20 15:44:00 +03:00
nyuszika7h
bfca6b9cd0 bashrc: Make the colours work with every OS. 2011-09-11 18:44:58 +03:00
Mika Suomalainen
87537ed3b3 bashrc: removed automatic time.
Tmux shows time anyway
2011-09-11 18:42:26 +03:00
Mika Suomalainen
4b8ecddb02 bashrc: removed separator between my additions and default things. 2011-09-11 18:41:18 +03:00
Mika Suomalainen
b4e837ea68 Actually do that sleeping.
I only added comment about it, I didn't remember to add that time itself.
2011-09-09 14:42:29 +03:00
Mika Suomalainen
7ddd54f084 bashrc: Added sleep time to prevent tmux from starting if someone wants to do that and comments.
bash will now wait for three seconds before starting tmux. This gives the user
three seconds time to press ctrl + c to prevent tmux from taking action. User might want
to do this when SSHing in to somewhere.

bashrc has comment to warn to NOT put anything to "tmux area".
2011-09-09 14:29:07 +03:00
Mika Suomalainen
9054697bdb bashrc: Start tmux always when bash starts, not only on SSH login. 2011-09-08 20:05:38 +03:00
Mika Suomalainen
527464be1d bashrc: Added automatic starting of tmux on SSH login. 2011-09-07 16:11:48 +03:00
Mika Suomalainen
4d74b57d5b Added line to continue tmux session whenever I login. 2011-09-04 16:55:33 +03:00
Mika Suomalainen
3d20660f74 added showing of time to start of bash 2011-08-29 15:57:02 +03:00
Mika Suomalainen
e7924bceaf bashrc: added sourcing for bash_private_aliases 2011-08-28 18:18:37 +03:00
Mika Suomalainen
09c10edb2c Disabled autocd by default to fix compatiblity with Mac OS X (Snow Leopard).
I have one Mac and when I tested this bashrc with it, it complained about unknown
shell option "autocd". Now I disabled it and this should work by default with it.

Mac's bash looks weird. I installed this and it looked normal again :)
2011-08-24 18:36:31 +03:00
Mika Suomalainen
6242d1dcc6 Moved warnings to the README and enabled autocd in bashrc
It will not warn about anything anymore, it just wants you to see README file
where every warning is in notices. README file also tells how to disable that message
which wants everyone to see the README file.
2011-08-17 15:52:54 +03:00