Commit Graph

173 Commits

Author SHA1 Message Date
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
Mika Suomalainen 054a604db0 zsh_aliases: nmap-osscan: scan only 80 and 443 to look less attacking. (See full commit message.)
I think that it looks less attacking to scan only widely used HTTP and HTTPS ports
instead of scanning all of the 1000 ports which nmap scans by default. If someone
wants to scan them, see comment above this alias in zsh_aliases.
2011-10-26 15:12:58 +03:00
Mika Suomalainen 42fe0729b2 zsh_aliases: Fixed typo, of course I know how aliases work. 2011-10-26 14:02:45 +03:00
Mika Suomalainen 13a1d7e1c4 zsh_aliases: added nmap-osscan. 2011-10-26 13:54:37 +03:00
Mika Suomalainen 2b960c9647 Merge remote-tracking branch 'origin/master' 2011-10-25 07:46:35 +03:00
Mika Suomalainen 6b58452ff1 zsh_functions: Copied "ex" from zshrc of bioterror. (Highlight to my IRC channel:) Unit193: Welcome to my zsh_functions :P
Also copied full comments, which bioterror had added.

Also (what is "omistuskirjoitus" in English) was copied.
2011-10-24 22:16:41 +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 a7c674e03e zshenv: Removed unrequired line, by merging it to one line above.
These two do the same thing.

Before:
LC_ALL=C
export LC_ALL

After:
export LC_ALL=C
2011-10-23 10:45:17 +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 a50e549490 zsh_tmux: Override aliases. 2011-10-22 14:47:51 +03:00
Mika Suomalainen 00d71b43b9 Merge remote branch 'origin/master' 2011-10-21 13:53:39 +03:00
Mika Suomalainen 4e9ce4c070 zshenv: Added (commented) line to use most as default pager. (Colourful manpages :)). 2011-10-21 13:51:19 +03:00
Mika Suomalainen 78a8aed445 zsh_aliases: added dig6 2011-10-18 19:23:24 +03:00
Mika Suomalainen 24097fae2f *.sh: Move step backwards. (See full commit message.)
It seems that zsh is giving weird error messages "can't open input file" and
bash doesn't give them. Because of this I must use bash with these scripts.
2011-10-17 14:31:58 +03:00
Mika Suomalainen b9d6c02186 zsh_aliases: I prefer to not need to close useless shell after exiting tmux. 2011-10-17 14:29:08 +03:00
Mika Suomalainen 675612ada8 zsh_aliases: Added nslookup6 (1) and dns6 (2).
1. There is ping6 so why not nslookup6?

2. If I have copied Supybot with DNS and I want to do IPv6 lookups, so nslookup6.
2011-10-17 14:25:42 +03:00
Mika Suomalainen dcd8f4c4e6 zsh_aliases: Copying Supybot's Internet.DNS. 2011-10-16 23:59:02 +03:00
Mika Suomalainen 096fbb065b zsh_tmux: Changed "remote" to "0".
0 is the default name of tmux session so if we start tmux and then SSH in, we probably
want to attach to session 0.
2011-10-13 22:40:30 +03:00
Mika Suomalainen d9ed552588 zsh_aliases: added ping6 = nping -6 . 2011-10-06 19:18:34 +03:00
Mika Suomalainen a523216923 zsh_aliases: saved the default aliases of Ubuntu default bashrc from bashrc of bash-things. 2011-10-02 19:52:12 +03:00