Commit Graph

232 Commits

Author SHA1 Message Date
Mika Suomalainen
6f6945bba5 bashrc & zshrc: alias ffmpeg to avconv 2013-05-06 17:20:36 +03:00
Mika Suomalainen
5a7f8ee5b9 fix previous commit
sysctl -f is needed for the update to take effect.
2013-04-26 14:01:50 +03:00
Mika Suomalainen
3ce88cd414 bashrc & zshrc: add alias fcorepattern & aptitudeyup...
fcorepattern sets core file name as I want and aptitudeyup is
aptitude version of aptyup.
2013-04-26 14:00:13 +03:00
Mika Suomalainen
da46792d17 fix previous commit 2013-04-15 12:24:12 +03:00
Mika Suomalainen
57d303f8b6 bashrc & zshrc: add apt-gety & aptitudey.
Debian side of yumyup.
2013-04-10 16:57:55 +03:00
Mika Suomalainen
4e788589e4 bashrc & zshrc: add upgrade aliases 2013-02-27 10:50:43 +02:00
Mika Suomalainen
81fd395637 bashrc & zshrc: duplicate some aliases that would be useful if I...
...remembered them.
2013-02-24 10:03:32 +02:00
Mika Suomalainen
628cb6d8d8 bashrc & zshrc: don't run who on Mac 2013-02-17 09:11:44 +02:00
Mika Suomalainen
d097b1a170 bashrc & zshrc: run visible commands on different lines
Meaning hostname, uptime and who
2013-02-17 09:06:07 +02:00
Mika Suomalainen
b6062f7f76 bashrc & zshrc: add empty line between output of uptime & who 2013-02-17 09:04:22 +02:00
Mika Suomalainen
8f67584df0 bashrc & zshrc: send output of ssh-agent to /dev/null 2013-02-17 09:02:07 +02:00
Mika Suomalainen
29c9cab7ae bashrc & zshrc: I am seeing messages even with that if-else... 2013-02-16 10:29:01 +02:00
Mika Suomalainen
7ecda2f30e bashrc & zshrc: make ssh-agent work on SSH sessions 2013-02-16 10:11:40 +02:00
Mika Suomalainen
c5a4ec0791 bashrc & zshrc: add "cwho" to commads run on start 2013-02-16 09:56:00 +02:00
Mika Suomalainen
302a796964 bashrc & zshrc: add alias cwho which is what I use with conky. 2013-02-16 09:52:19 +02:00
Mika Suomalainen
125863565c do not set display 2013-02-10 20:34:50 +02:00
Mika Suomalainen
5146f94d1a bashrc & zshrc: add alias rss for reset.
It's easier to type using phone or tablet with VX Connectbot. I have
need to reset on those devices very often.
2013-02-10 13:12:52 +02:00
nyuszika7h
0716ec9731 zshrc: help @Mkaysi to add exit status to prompt 2013-02-09 16:46:22 +02:00
Mika Suomalainen
444acd5675 bashrc & zshrc: add alias weechat-version for displaying weechat comp...
...ile date / commit id. Fixes #15
2013-02-06 16:23:20 +02:00
Mika Suomalainen
52c472114e zshrc: do same as to bashrc in previous commit 2013-02-04 16:11:30 +02:00
Mika Suomalainen
deb659dbe3 fix previous commit 2013-02-04 11:08:01 +02:00
Mika Suomalainen
b027b2bb0a zshrc: remove weird/broken history things 2013-02-04 11:00:19 +02:00
Mika Suomalainen
9403ab5bb6 add suu* alias.
Suu is Finnish and means mouth.
2013-02-04 10:52:58 +02:00
Mika Suomalainen
4aeda02bc8 bashrc & xsessionrc & zshrc: fix $PATH 2013-02-02 18:26:32 +02:00
Mika Suomalainen
9dce46734a fix previous commit 2013-01-19 12:30:25 +02:00
Mika Suomalainen
f01c4e46e0 bashrc & zshrc: add aliases to prefer curl in fedora utils & install fedora utils 2013-01-19 11:21:56 +02:00
Mika Suomalainen
228de9b517 bashrc & zshrc: add some systemd aliases 2013-01-14 18:13:46 +02:00
Mika Suomalainen
33a00e4593 bashrc & zshrc: yum -y and -n aliases. yummy yummn yumy yumn 2013-01-01 21:13:27 +02:00
Mika Suomalainen
b6e8a10954 alias ssu="sudo -i" 2013-01-01 11:30:37 +02:00
Mika Suomalainen
64aafd4447 bashrc & zshrc: (almost) unlimited history + time stamps in history 2012-12-31 23:00:59 +02:00
Mika Suomalainen
815ee86a4e bashrc & zshrc: use human friendly units with ll 2012-12-31 22:07:43 +02:00
Mika Suomalainen
6935c8a7f1 zshrc: fix mysterious error that happens when nothing is wrong 2012-12-31 12:16:46 +02:00
Mika Suomalainen
0919eab0d2 zshrc: fix previous commit 2012-12-31 12:10:30 +02:00
Mika Suomalainen
bf8c83dadb zshrc: fix one line & hopefully fix previous commit 2012-12-31 12:06:22 +02:00
Mika Suomalainen
71e7e2a740 fix previous commit ? 2012-12-31 12:01:47 +02:00
Mika Suomalainen
066b923dec zshrc: fix "bad pattern" 2012-12-31 11:56:34 +02:00
Mika Suomalainen
4f89ce01d1 bashrc & zshrc: Don't alias ls on Mac OS X 2012-12-31 11:44:32 +02:00
Mika Suomalainen
a3e3a42b2c zshrc: set $UNAME enough early for everything! 2012-12-30 11:26:59 +02:00
Mika Suomalainen
7c3d98f72c bashrc & xsessionrc & zshrc: fix PATH, I discovered that Fedora symli...
...nks /bin/ to /usr/bin/ and /sbin/ to /usr/sbin/
2012-12-30 11:14:40 +02:00
Mika Suomalainen
f5ebbabf72 bashrc & zshrc & xsessionrc: add $HOME/bin to $PATH 2012-12-28 14:41:19 +02:00
Mika Suomalainen
887df4a5ed bashrc & zshrc & xsessionrc: type PATH my myself for fun (ends to :$PATH) 2012-12-28 14:35:54 +02:00
Mika Suomalainen
2ca928f147 *rc: set my only screens 2012-12-26 19:02:58 +02:00
nyuszika7h
105079627b fix previous commits 2012-12-25 11:33:50 +02:00
Mika Suomalainen
b37ce2d19f fix previous commit 2012-12-25 11:27:16 +02:00
Mika Suomalainen
a25ad9584f zshrc: fix error 2012-12-25 11:25:23 +02:00
Mika Suomalainen
661db21fc8 zshrc: fix error about dircolors not found on Mac. (git commit --amend) 2012-12-24 20:04:52 +02:00
Mika Suomalainen
3952e9973d bashrc & zshc & xsessionrc: Set update interval to 1 day on Mac.
Fixes #13
2012-12-24 19:15:02 +02:00
Mika Suomalainen
2479d7971a bashrc & zshrc: automatically enable hidden files + airdrop on Mac.
Almost fixes #13
2012-12-24 18:59:14 +02:00
Mika Suomalainen
f331acbdf5 bashrc & zshrc & xsessionrc: add MacPorts into $PATH 2012-12-24 18:33:22 +02:00
Mika Suomalainen
92f6b5acc9 bashrc & zshrc: Use pinfo instead of info & add -R flag to less 2012-12-22 21:17:56 +02:00
Mika Suomalainen
48221d6c82 bashrc & zshrc: add colours to less 2012-12-21 15:24:51 +02:00
Mika Suomalainen
cf0bcb71a9 bashrc & zshrc: always use colours with ls 2012-12-21 15:11:11 +02:00
Mika Suomalainen
25e2d2e1a5 zshrc: MKAYSIGREP 2012-12-21 14:24:44 +02:00
Mika Suomalainen
efad90ed79 chmod -x *rc 2012-12-21 13:11:16 +02:00
Mika Suomalainen
07ec091695 bashrc & zshrc: add some tar aliases 2012-12-21 12:54:59 +02:00
Mika Suomalainen
6ecb07406b bashrc & zshrc: add alias to reset Yum timedhosts (Fedora 17 only?)
I will probably keep it updated to the latest stable Fedora release,
because Fedora doesn't have LTS.
2012-12-21 12:44:13 +02:00
Mika Suomalainen
bf3cef0bf1 bashrc & zshrc: add mkhiso & yum-unlock aliases 2012-12-09 14:08:31 +02:00
Mika Suomalainen
05096811da bashrc & zshrc & recommends: remove the rot13 function. Better one is in bsdgames. 2012-11-04 12:15:02 +02:00
Mika Suomalainen
530e9d5e30 bashrc & zshrc: add alias supybot-generate-messages.pot-mass to generate messages.pot file for all plugins at the same time 2012-10-07 18:25:38 +03:00
Mika Suomalainen
637a58beb0 bashrc & zshrc & warnings: add unixle and msdosle to convert line endings. 2012-09-23 10:27:29 +03:00
Mika Suomalainen
d445ee82bb bashrc & zshrc: move uname to the top 2012-09-16 15:27:48 +03:00
Mika Suomalainen
3fedadcdc4 bashrc & zshrc: Fix order of lines & add uname=uname
I will use $uname somewhere later.
2012-09-16 15:24:34 +03:00
Mika Suomalainen
b8549e770a bashrc & zshrc: add alias "git-committers" to see committers of repository. 2012-09-15 11:01:06 +03:00
Mika Suomalainen
858df5296d zshrc & bashrc: add MSDOS aliases copy & move 2012-09-15 10:25:39 +03:00
Mika Suomalainen
05bb05d2c5 bashrc & zshrc: add alias ssh-pubkey-length to show length of public SSH key & add MSDOS aliases cls, help and ipconfig. 2012-09-15 10:12:17 +03:00
Mika Suomalainen
bc6fdc8845 bashrc & zshrc: fix typo in refreshgroups alias & add alias to use incase-sensitive grep by default. 2012-08-31 17:48:55 +03:00
Mika Suomalainen
ffb00611bd bashrc & zshrc: add alias refreshgroups to update groups without logging out. Source: http://blog.edwards-research.com/2010/10/linux-refresh-group-membership-without-logging-out/ via Google. 2012-08-30 19:55:53 +03:00
Mika Suomalainen
6f1cd0e105 bashrc & zshrc: add alias to use curl instead of wget. 2012-08-20 14:09:22 +03:00
Mika Suomalainen
be167fe239 Fix previous commit. 2012-08-19 12:08:09 +03:00
Mika Suomalainen
25069a58c4 bashrc & zshrc: fix http.debian.net 2012-08-19 12:05:48 +03:00
Mika Suomalainen
8861c625b2 fix previous commit 2012-08-19 10:30:59 +03:00
Mika Suomalainen
0e5c97b0f1 bashrc & zshrc: http.debian.net alias doesn't need browser anymore. 2012-08-19 10:28:09 +03:00
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
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
970abc6b81 zshrc: Fixed sourcing of zsh_custom 2011-10-02 17:22:09 +03:00
Mika Suomalainen
79e4cf3eae zshrc: Added sourcing for zsh_custom if present.
zsh_custom will be sourced if it exists. I sometimes need something which
isn't part of any file and must be only on that one computer.
2011-10-02 17:05:17 +03:00
Mika Suomalainen
8f5a2e86de zshrc: More intelligent sourcing. 2011-10-01 16:32:18 +03:00
Mika Suomalainen
a6df36aa40 added zsh_tmux 2011-10-01 16:14:11 +03:00
Mika Suomalainen
3d24df5199 zshrc: Why to sleep if there aren't anything which should be aborted on startup?
It seems that I forgot to comment sleeping.
2011-09-30 14:55:48 +03:00
Mika Suomalainen
b9e2ddf538 zshrc: Do not start tmux at startup of zsh.
I have noticed that it can be very annoying.
2011-09-30 13:57:54 +03:00
Mika Suomalainen
802c0da6af Rename zsh_exports to zshenv.
zshenv is sourced by every zsh (not only interactive sessions, scripts too).
Content of this file is what I probably want scripts to use too. Scripts
probably don't things like aliases.
2011-09-29 16:41:13 +03:00
Mika Suomalainen
993f162a2f Forked bash-things to zsh-things. Converted everything to work with zsh.
Some things can be little weird because moving is still going on.
2011-09-29 15:25:05 +03:00