Skip to content

Instantly share code, notes, and snippets.

@mohokh67
Last active October 26, 2019 12:36
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mohokh67/f86afa9079ff7182ae8ea757c09854e8 to your computer and use it in GitHub Desktop.
Save mohokh67/f86afa9079ff7182ae8ea757c09854e8 to your computer and use it in GitHub Desktop.
alias c='clear'
alias gs='git status'
alias pull='git pull'
alias push='git push'
alias master='git checkout master'
alias commit='git commit -m'
alias ll='ls -la'
alias ls='ls --color=auto'
## get rid of command not found ##
alias cd..='cd ..'
## a quick way to get out of current directory ##
alias ..='cd ..'
alias ...='cd ../..'
alias .3='cd ../../../'
alias .4='cd ../../../../'
alias .5='cd ../../../../..'
alias h='history'
alias path='echo -e ${PATH//:/\\n}'
alias now='date +"%T"'
alias nowtime=now
alias nowdate='date +"%d-%m-%Y"'
alias home='cd ~'
alias nis='npm i --save'
alias nid='npm i -D'
alias mkcd='foo(){ mkdir -p "$1"; cd "$1" }; foo '
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment