Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Terminal shortcuts #1

danielvanc opened this issue Mar 9, 2020 · 1 comment

Terminal shortcuts #1

danielvanc opened this issue Mar 9, 2020 · 1 comment


Copy link

@danielvanc danielvanc commented Mar 9, 2020

Context to the problem
With all the commands we use in the Terminal, on a day to day basis, it would be allot easier to use more meaningful / smaller shortcuts to reduce memory load and well, less typing...

To Reproduce
Some typical examples include

  1. git commit -am "Some useful commit message"
  2. gatsby build && gatsby serve
  3. browser-sync start --server --files **/*.*

Some examples of what I use. To use, enter the alias name at the command prompt.

alias dev='code /Applications/MAMP/htdocs/dev'
alias work='/Applications/MAMP/htdocs/'
alias c='clear'
alias h='history'
alias lm='ls -GpF'
alias cy='npm run cypress'
alias gs='git status'
alias gc='git checkout'
alias gp='git push'
alias gpl='git pull'
alias gc='git commit -m'
alias ga='git add'
alias gaa='git add .'
alias ...='cd ../..'
alias bs='browser-sync start --server --files **/.'
alias zu='. ~/.zshrc'
alias p='parcel index.html'
alias ns='npm start'
alias ys='yarn start'
alias yb='yarn build'
alias yd='yarn develop'
alias nb='npm build'
alias nt='npm test'
alias yt='yarn test'
alias gbs='gatsby build && gatsby serve'
alias staging="ssh <user>@<ipaddress>"
alias prod="ssh <user>@<ipaddress>-p <port>"


This comment has been minimized.

Copy link
Owner Author

@danielvanc danielvanc commented Mar 9, 2020

Which short cuts do you use?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.