Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
My bash resources
#...
alias vgrt-up='(cd vagrant && vagrant up)'
alias vgrt-ssh='(cd vagrant && vagrant ssh)'
alias vgrt-status='(cd vagrant && vagrant status)'
alias vgrt-halt='(cd vagrant && vagrant halt)'
alias ssh-dev='ssh root@192.168.1.230'
alias mount-dev='sshfs root@192.168.1.230:/var/www /mnt/dev'
alias ssh-prod='ssh -p 822 nilobstat@192.168.1.210'
alias mount-prod='sshfs -p 822 nilobstat@192.168.1.210:/var/www /mnt/prod'
#...
# Alias definitions
if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi
# Expose aliases
getaka() { grep -i "$@" ~/.bash_aliases;}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment