Last active
August 20, 2018 06:31
-
-
Save preeteshjain/7ce4ce200ab30bc7ec260533328057e5 to your computer and use it in GitHub Desktop.
Handy Bash Shortcuts (For Laravel Homstead)
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 ..="cd .." | |
# Access Homestead from anywhere | |
function homestead() { | |
( cd ~/Homestead && vagrant $* ) | |
} | |
# Sublime Text shortcut | |
alias 'subl="/c/Program Files/Sublime Text 3/subl.exe"' | |
# Homestead on | |
alias hon="homestead up" | |
# Homestead off | |
alias hoff="homestead halt" | |
# Homestead ssh | |
alias vm="homestead ssh" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment