Last active
April 20, 2016 10:24
-
-
Save RoesWibowo/a66286036f7078f8c3d9641567cf5ec4 to your computer and use it in GitHub Desktop.
Alias Bashrc
This file contains hidden or 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
vim ~/.bashrc | |
nav() { | |
cd /home/htdocs/$1 | |
} | |
pa() { | |
php artisan $1 | |
} | |
pd() { | |
php doctrineConsole.php $1 | |
} | |
nav() { | |
cd /home/htdocs/$1 | |
clear | |
} | |
gpull() { | |
git pull origin $1 | |
} | |
gpush() { | |
git add . | |
git commit -m $1 | |
git push origin $2 | |
} | |
gpull() { | |
git pull origin $1 | |
} | |
alias nav=nav | |
alias pa=pa | |
alias pd=pd | |
alias gpull=gpull | |
alias gpush=gpush | |
source ~/.bashrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment