Skip to content

Instantly share code, notes, and snippets.

@GiancarlosIO
Last active March 12, 2018 14:53
Show Gist options
  • Save GiancarlosIO/ca29ed140cc2f087b818baab4fd37aac to your computer and use it in GitHub Desktop.
Save GiancarlosIO/ca29ed140cc2f087b818baab4fd37aac to your computer and use it in GitHub Desktop.
# create and enter to folder
function mkcdir() {
mkdir -- "$1"
cd -- "$1"
}
# show ip
alias myip='curl http://ipecho.net/plain; echo'
alias nis='npm install --save'
alias nisd='npm install --save-dev'
# search for a word in history
alias hs='history | grep'
# clear console
alias c='clear'
# remove file with a confirm-alert
alias rm='rm -i'
# work space
alias av='source /usr/local/bin/virtualenvwrapper.sh'
alias wc='workon crehana'
alias cdc='cd Documentos/crehana/crehana/'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment