Skip to content

Instantly share code, notes, and snippets.

@nickdenardis
Last active January 20, 2023 01:02
Show Gist options
  • Save nickdenardis/fe3f186362acbbcfae9c to your computer and use it in GitHub Desktop.
Save nickdenardis/fe3f186362acbbcfae9c to your computer and use it in GitHub Desktop.
Common useful aliases
alias wild-up='cd ~/Sites/wild-wayne && git checkout master && git up && vagrant up && vagrant ssh'
alias wild-down='cd ~/Sites/wild-wayne && vagrant halt'
alias wild-ssh='cd ~/Sites/wild-wayne && vagrant ssh'
alias wild-fix='ls -alR ~/Sites/wild-wayne >> /dev/null'
alias valet-up='brew services start --all'
alias valet-down='brew services stop --all'
alias git-push='git push origin --all && git push origin --tags'
alias git-version='git checkout master && git describe'
alias git-bump='git add . && git commit -am \"Version bump\"'
alias gll="git log --graph --pretty=format':%C(yellow)%h%Cblue%d%Creset %s %C(white) %an, %ar%Creset'"
alias weather='curl -s wttr.in | sed -n \"1,7p\"'
alias standup='cd ~/Sites/ && git standup -m 2'
alias start-server='browser-sync start --server --files="**/*"'
alias git-patch='~/Sites/wild-wayne/_helpers/git-patch.sh'
alias git-minor='~/Sites/wild-wayne/_helpers/git-minor.sh'
alias git-release='~/Sites/wild-wayne/_helpers/git-release.sh'
alias start-server='browser-sync start --server --files="**/*"'
alias art='php artisan'
alias nah='git reset --hard;git clean -df;'
# Go development
export GOPATH=$HOME/go
PATH=node_modules/.bin:vendor/bin:$HOME/.composer/vendor/bin:/usr/local/sbin:$PATH:$GOPATH/bin
export HOMEBREW_GITHUB_API_TOKEN=
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment