Skip to content

Instantly share code, notes, and snippets.

@AruniRC
Last active August 14, 2020 22:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AruniRC/0e0c4d227beb911ac6e34d286b7e1011 to your computer and use it in GitHub Desktop.
Save AruniRC/0e0c4d227beb911ac6e34d286b7e1011 to your computer and use it in GitHub Desktop.
Bashrc macbook home
export PS1="\[\033[36m\]\u\[\033[m\]@\[\033[32m\]\h:\[\033[33;1m\]\w\[\033[m\]\n\$ "
export CLICOLOR=1
export LSCOLORS=ExFxBxDxCxegedabagacad
# User defined aliases
alias ls='ls -GFh'
# Mounting remote drives (create folder manually first under ~/Mount/remote-name)
alias mount-fisher='sshfs arunirc@fisher.cs.umass.edu:/ ~/Mount/fisher -o volname=fisher'
# SSH tunnel for tensorboard
alias ssh-cv='ssh -N -f -L localhost:16006:localhost:6006'
# AWS dev stuff
export AWS_KEY_PATH=XXXXXXX.pem
alias ssh-cv='ssh -i ${AWS_KEY_PATH}'
alias rsync-cv='rsync -avL --progress -e "ssh -i ${AWS_KEY_PATH}"'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment