Mercurial > index.cgi > dotfiles
comparison .bash_aliases @ 61:d59d16a55494
* Added test to dotfile check which aborts if no keys loaded
* Added .screenrc.pbstops for pbstop screen session
* Aliases for cses13, 't cses13' and 'tops'
author | huston@80426f53-59d1-405d-934b-f07cd76f4a1a |
---|---|
date | Mon, 09 Jul 2012 16:57:42 +0000 |
parents | c27db9abf42c |
children | 51ba91e3b3e2 |
comparison
equal
deleted
inserted
replaced
60:c27db9abf42c | 61:d59d16a55494 |
---|---|
63 if [ -n "$2" ] ; then | 63 if [ -n "$2" ] ; then |
64 T_HOST=$2 | 64 T_HOST=$2 |
65 fi | 65 fi |
66 ssh -t $T_HOST "ssh $1" | 66 ssh -t $T_HOST "ssh $1" |
67 } | 67 } |
68 alias 13='ssh cses13' | |
69 alias t13='t cses13' | |
68 | 70 |
69 # Remote desktop/VNC | 71 # Remote desktop/VNC |
70 eval "alias xvnc='ssh -L9910:localhost:5901 -f joshua.srhuston.net \"sleep 5\"; ${VNCVIEWER}localhost:9910 &'" | 72 eval "alias xvnc='ssh -L9910:localhost:5901 -f joshua.srhuston.net \"sleep 5\"; ${VNCVIEWER}localhost:9910 &'" |
71 eval "alias xanadu='ssh -L9920:localhost:5900 -f xanadu.astro.princeton.edu \"sleep 300\"; ${VNCVIEWER}localhost:9920 &'" | 73 eval "alias xanadu='ssh -L9920:localhost:5900 -f xanadu.astro.princeton.edu \"sleep 300\"; ${VNCVIEWER}localhost:9920 &'" |
72 eval "alias milton='ssh -L9930:milton:5900 -f joshua.srhuston.net \"/sbin/ether-wake 00:17:f2:01:d2:3c ; sleep 30\"; sleep 10; ${VNCVIEWER}localhost:9930 &'" | 74 eval "alias milton='ssh -L9930:milton:5900 -f joshua.srhuston.net \"/sbin/ether-wake 00:17:f2:01:d2:3c ; sleep 30\"; sleep 10; ${VNCVIEWER}localhost:9930 &'" |
81 alias pine='alpine' | 83 alias pine='alpine' |
82 alias ret='screen -raAx' | 84 alias ret='screen -raAx' |
83 alias rot13="tr 'a-zA-Z' 'n-za-mN-ZA-M'" | 85 alias rot13="tr 'a-zA-Z' 'n-za-mN-ZA-M'" |
84 alias stendhal="java -jar $HOME/Installs/stendhal/stendhal-*.jar" | 86 alias stendhal="java -jar $HOME/Installs/stendhal/stendhal-*.jar" |
85 alias vi='vim' | 87 alias vi='vim' |
88 alias tops='unset STY; screen -c .screenrc.pbstops -S pbstop' | |
86 | 89 |
87 # SSHFS mounts | 90 # SSHFS mounts |
88 # The $DARWIN check fills in a nice volname if this is a Mac | 91 # The $DARWIN check fills in a nice volname if this is a Mac |
89 alias junkpile="sshfs -oreconnect${DARWIN:+,volname=Junkpile} srhuston.net:junkpile $HOME/junkpile" | 92 alias junkpile="sshfs -oreconnect${DARWIN:+,volname=Junkpile} srhuston.net:junkpile $HOME/junkpile" |
90 alias sj="sshfs -oreconnect${DARWIN:+,volname=Joshua} joshua.srhuston.net: $HOME/joshua" | 93 alias sj="sshfs -oreconnect${DARWIN:+,volname=Joshua} joshua.srhuston.net: $HOME/joshua" |