X-Git-Url: http://git.iain.cx/?p=profile.git;a=blobdiff_plain;f=.bash_profile;h=fcecf152d023d17ed2cb726899c981ed35725862;hp=35cd3b83006c8dfa105904797af37e62f9b32479;hb=ffda7fdecab70b22554d7c9df55fb1a8cded5b1d;hpb=8c75606a52da5a4df6018134e0806e7041ca69e1 diff --git a/.bash_profile b/.bash_profile index 35cd3b8..fcecf15 100755 --- a/.bash_profile +++ b/.bash_profile @@ -2,51 +2,6 @@ for i in ~/.profile.d/*.bashrc; do . $i; done __ps1 -unset XMODIFIERS #:-( -export SSHTERM="urxvt" -export SSHTERM_TITLE="-title" -export SSHTERM_EXEC="-e" - if [ "$OSTYPE" = "cygwin" ]; then shopt -s nocaseglob fi - -#[ "$TERM" = "xterm-color" ] && export TERM=xterm-xfree86 -export PATH=~/bin:"$PATH" - -function upload() { - if [ $# = 0 ]; then - echo usage: upload file [file...] - return 100 - fi - pwd=$PWD/ - pwd=${pwd##/home/iain/www/} - if echo $pwd | grep -q ^/; then - echo not rooted under /home/iain/www - unset pwd - return 111 - fi -# scp ${1+"$@"} 64.176.170.109:/home/iain/$pwd - lftp -c "open web1.viagold.net; cd $pwd; mput $@" - unset pwd -} - -function download() { - if [ $# = 0 ]; then - echo usage: download file [file...] - return 100 - fi - pwd=$PWD/ - pwd=${pwd##/home/iain/www/} - if echo $pwd | grep -q ^/; then - echo not rooted under /home/iain/www - unset pwd - return 111 - fi -# scp ${1+"$@"} 64.176.170.109:/home/iain/$pwd - lftp -c "open web1.viagold.net; cd $pwd; mget $@" - unset pwd -} -alias debug='valgrind --leak-check=yes --show-reachable=yes --num-callers=5 --verbose' - -eval `dircolors -b`