Commit Graph

60 Commits

Author SHA1 Message Date
nyuszika7h
f3c0211824 bashrc & zshrc: use icanhazip.com instead of cadoth & mute curl. 2012-08-18 11:57:20 +03:00
nyuszika7h
fa15d03596 bashrc & zshrc: fix myip4 2012-08-18 11:42:38 +03:00
Mika Suomalainen
eece10f0bb bashrc & zshrc: replace myip function with alias using curl & add myip4 & myip6 aliases. 2012-08-18 11:37:19 +03:00
Mika Suomalainen
7459137d94 bashrc & zshrc: don't use apt-get as an alias for aptitude.
I just experienced problems with aptitude not being able to upgrade, but
apt-get can do it.
2012-08-17 16:05:03 +03:00
Mika Suomalainen
91601c8989 bashrc & zshrc: show hostname and uptime on shell start. 2012-08-06 20:04:58 +03:00
Mika Suomalainen
39596ea7a4 bashrc & zshrc: add alias follow for tail -f 2012-08-04 16:45:05 +03:00
Mika Suomalainen
93f276f66f bashrc & zshrc: add alias for check_trans.py in Limnoria. 2012-08-04 15:26:07 +03:00
Mika Suomalainen
4e64c3043a bashrc & zshrc & warnings: Don't use nping as ping. 2012-07-31 14:57:46 +03:00
Mika Suomalainen
4059cb51a5 bashrc & zshrc: add alias gpg-key-count to calcutate amounts of keys in keyring.
This is different from previous with following ways:
1. Simpler.
2. Works with Windows (?)
3. Takes more time.
2012-07-25 11:00:52 +03:00
Mika Suomalainen
19b8da78ac bashrc & zshrc: add alias gpg-key-amount to show how many keys there are in pubring. 2012-07-25 10:51:05 +03:00
Mika Suomalainen
d3c85c079d bashrc & zshrc: source warnings 2012-07-14 20:46:08 +03:00
Mika Suomalainen
da4eddecf5 bashrc & zshrc: add alias for seeing where http.debian.net puts you to.
See comment.
2012-06-29 20:28:50 +03:00
Mika Suomalainen
93cdd2ce35 bashrc & zshrc: add alias "apt-key-refresh-keys" to refresh keys in apt's keyring. 2012-06-24 09:33:23 +03:00
Mika Suomalainen
05746cb542 zshrc & bashrc: add scat alias. 2012-05-19 12:58:51 +03:00
Mika Suomalainen
1660ebb0cf bashrc & zshrc: add lmosh alias. 2012-05-03 17:26:50 +03:00
Mika Suomalainen
459bed9221 bashrc & zshrc: Enable core files. 2012-05-02 17:36:48 +03:00
Mika Suomalainen
187fb23216 bashrc & zshrc: Add $HOME/.local/games to $PATH. 2012-05-01 18:44:47 +03:00
Mika Suomalainen
5243db0d88 zshrc: Do the same things as to bashrc in previous commit (I think). 2012-04-30 19:12:20 +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
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
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