Created
May 8, 2018 17:59
-
-
Save KalikaKay/3a785684a39c88d4014cf35ebb1d1319 to your computer and use it in GitHub Desktop.
I keep forgetting my aliases, openalias is most important.
This file contains 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
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" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.