Skip to content

Instantly share code, notes, and snippets.

@KalikaKay
Created May 8, 2018 17:59
Show Gist options
  • Save KalikaKay/3a785684a39c88d4014cf35ebb1d1319 to your computer and use it in GitHub Desktop.
Save KalikaKay/3a785684a39c88d4014cf35ebb1d1319 to your computer and use it in GitHub Desktop.
I keep forgetting my aliases, openalias is most important.
alias ls='ls --color=auto -F'
alias grep='grep --color=auto'
alias fgrep='fgrep --color=auto'
alias egrep='egrep --color=auto'
alias ll='ls -alF'
alias la='ls -A'
alias l='ls -CF'
alias less="less -R "
alias mysqldump="mysqldump --user=$C9_USER --host=$IP"
alias php="php -c ~/workspace/php.ini"
alias ..="cd .."
alias preview="hugo server --bind=0.0.0.0 --port=8080 --baseURL https://hugo-explore-kalikakay.c9users.io/"
alias public="rm -r public | hugo | gcloud app deploy"
alias bashreboot=". ~/.bashrc"
alias openalias="c9 ~/.bash_aliases"
@KalikaKay
Copy link
Author

While the above is a good example for how to configure aliases - specifically related to the cloud 9 environment, I think this blog may be more useful in Windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment