Mercurial > index.cgi > dotfiles
comparison .bash_aliases @ 216:6731880943f8
Prevent variables from leaking
author | Steve Huston <huston@srhuston.net> |
---|---|
date | Tue, 26 Jan 2021 11:00:31 -0500 |
parents | c35da750af7a |
children | 798ae9a8fa6f |
comparison
equal
deleted
inserted
replaced
215:c35da750af7a | 216:6731880943f8 |
---|---|
79 } | 79 } |
80 alias x='ssh xanadu.astro.princeton.edu' | 80 alias x='ssh xanadu.astro.princeton.edu' |
81 | 81 |
82 # Proxying/tunneling - predominantly for my Mac laptop | 82 # Proxying/tunneling - predominantly for my Mac laptop |
83 proxy() { | 83 proxy() { |
84 local PROXY_HOST PROXY_PORT PROXY_PATH PROXY_UMOUNT | |
84 case $1 in | 85 case $1 in |
85 home) | 86 home) |
86 if [ "$HOST" != "gallifrey" ] ; then | 87 if [ "$HOST" != "gallifrey" ] ; then |
87 echo "Not on gallifrey, no need for this" | 88 echo "Not on gallifrey, no need for this" |
88 return | 89 return |