Last active
August 29, 2015 14:05
-
-
Save adrienlucas/730bf9a646de5c497b2a to your computer and use it in GitHub Desktop.
My bash resources
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#... | |
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' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#... | |
# 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