Skip to content

Instantly share code, notes, and snippets.

@RoesWibowo
Last active April 20, 2016 10:24
Show Gist options
  • Save RoesWibowo/a66286036f7078f8c3d9641567cf5ec4 to your computer and use it in GitHub Desktop.
Save RoesWibowo/a66286036f7078f8c3d9641567cf5ec4 to your computer and use it in GitHub Desktop.
Alias Bashrc
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