Mercurial > index.cgi > dotfiles
view .bash_aliases @ 4:6ffd3fb73f7f
s/\~\//\$HOME\//g - There's possibly a nicer way to make sure tilde expansion
is done in the right places, but this works just as well and doesn't require
extra thinking when I'm half asleep :P
Added (^|:) to start, and ($|:) to end of all tests to make sure we're
matching a full path.
Also test for (and append if not there) a ':' at the end of $MANPATH;
otherwise Linux systems tend to forget how to search system paths.
author | huston@80426f53-59d1-405d-934b-f07cd76f4a1a |
---|---|
date | Sat, 11 Apr 2009 06:54:02 +0000 |
parents | 072b183989e0 |
children | aa5e55aa62ef |
line wrap: on
line source
# SSH aliases alias dh='ssh srhuston.net' alias dvra='ssh dvra@laurel.dreamhost.com' alias j='ssh joshua.srhuston.net' alias r='ssh -l root' alias roc='ssh zenoss@rocinante' alias s=ssh alias x='ssh xanadu.astro.princeton.edu' # Programs alias atari='atari800 -height 800 -width 600' alias base64='openssl enc -a' alias bsr='bigscreen -raAx' alias irssi-test='irssi --home=~/irssi-test/' alias ret='screen -raAx' alias rot13="tr 'a-zA-Z' 'n-za-mN-ZA-M'" alias vi='vim' # SSHFS mounts alias junkpile='sshfs -oreconnect,volname=Junkpile srhuston.net:junkpile ~/junkpile' alias sharm='sshfs -oreconnect harmonic.srhuston.net: ~/harmonic' alias sj='sshfs -oreconnect,volname=Joshua joshua.srhuston.net: ~/joshua' alias ssrh='sshfs -oreconnect srhuston.net: ~/srhuston.net' alias sx='sshfs -oreconnect xanadu.astro.princeton.edu: ~/xanadu' # Mac OS X specific [[ `uname` == "Darwin" ]] && { alias ls='ls -FG' } # Linux specific [[ `uname` == "Linux" ]] && { alias ls='ls --color=auto -F' }