Skip to content

Commit

Permalink
Update .bashrc
Browse files Browse the repository at this point in the history
  • Loading branch information
xwinxu authored Jun 1, 2022
1 parent 26b20a4 commit 0432fd7
Showing 1 changed file with 3 additions and 22 deletions.
25 changes: 3 additions & 22 deletions .bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ alias gscat='gsutil cat'
alias desk='cd ~/Desktop/'
alias down='cd ~/Downloads/'
alias vec1='cd ~/vec1home/'
alias fumount='sudo diskutil umount force ~/vec1home'
alias fmount='sshfs [email protected]:/scratch/ssd001/home/winniexu/ /Users/winniexu/vec1home/'
alias fumount='sudo diskutil umount force ~/mtpt'
alias fmount='sshfs [email protected]:/scratch/ssd001/home/winniexu/ /Users/winniexu/mtpt/'
#alias ckmount='sshfs [email protected]:/checkpoint/winniexu/ /Users/winniexu/ckpt/'
alias ckmount='sshfs [email protected]:/checkpoint/winniexu/icml/ /Users/winniexu/ckpt/'
alias ckumount='sudo diskutil umount force ~/ckpt'
Expand All @@ -37,7 +37,7 @@ alias pythonb='python -m pdb -c continue'
alias ga='git add'
alias gc='git commit -m'
alias gp='git push'
# scp -r winniexu@v.vectorinstitute.ai:~/results_test/corrupt/ ~/Desktop/plot_corrupt
# scp -r winniexu@address.com:~/some_dir ~/Desktop/destination_dir
alias julia='/Applications/Julia-1.3.app/Contents/Resources/julia/bin/julia'

PS1='\u\[\e[36m\] λ\[\e[36m\]\w `if [ $? = 0 ]; then echo \[\e[33m\]:\)\[\e[37m\]; else echo \[\e[35m\]:\(\[\e[37m\]; fi` '
Expand All @@ -46,22 +46,3 @@ alias tcs='ssh [email protected]'
alias auto='ssh [email protected] -p 10023'
alias autotensor='ssh [email protected] -p 10023 -L localhost:16008:logstar:6008'
alias autoim='ssh -X -p 10023 [email protected]'
#light_blue="\[\e[0;36m\]"
#light_red="\[\e[0;35m\]"
#yellow="\[\e[0;33m\]"
##gray="\[\e[0;37m\]"
#reset="\[\e[m\]"
#
#prompt_command() {
# local status="$?"
# local status_color=""
# if [ $status != 0 ]; then
# status_color=${yello}
# export PS1="${light_blue}\u${reset}λ\w${reset} ${status_color}:)${reset} "
# else
# status_color=${light_red}
# export PS1="${light_blue}\u${reset}λ\w${reset} ${status_color}:(${reset} "
# fi
#}
#PS1="$PSI"`prompt_command`
#export PROMPT_COMMAND=prompt_commandsh

0 comments on commit 0432fd7

Please sign in to comment.