X-Git-Url: http://47.100.26.94:8080/?a=blobdiff_plain;ds=sidebyside;f=zsh%2Fzshrc;fp=zsh%2Fzshrc;h=bae0beda3fd227c3201409afb09be4447438fd14;hb=cbe0c4e6a8bde424ca94782af5459afc9e585a1d;hp=045e33c74f4288fcb057269bb2d1fa49c91191c1;hpb=0118b4f852d46086bd4c001425538dbb0644a106;p=dotfiles.git diff --git a/zsh/zshrc b/zsh/zshrc index 045e33c..bae0bed 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -231,3 +231,23 @@ alias tw='open -a /Applications/TextWrangler.app/' #fi export LANG='en_US.UTF-8' export LC_ALL="en_US.UTF-8" + +lftp-cp() { + + server='cmbu-ftp.cisco.com' + user='cmbu' + pass='cisco123!@#' + home='/FTPServer/users/peli3' + dir=`date +%m%d` + + localfile=$1; + remotefile=${home}/${dir}/$2; + + echo "copy ${localfile} to ftp://${server}${remotefile}" + lftp -e "mkdir ${home}/${dir}; put ${localfile} -o ${remotefile}; bye" -u $user,$pass $server +} +merge_logs() { + ls -rl jabber.log* | awk '{print $9}' | Xargs cat >> full.log +} + +export MANPATH=$MANPATH:/usr/local/man