Skip to content

Instantly share code, notes, and snippets.

@isevcik
Last active June 17, 2019 20:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save isevcik/6f5e72aac2a0b13a8ebd151edb879556 to your computer and use it in GitHub Desktop.
Save isevcik/6f5e72aac2a0b13a8ebd151edb879556 to your computer and use it in GitHub Desktop.
# history tunning
export export HISTSIZE=50000
export HISTTIMEFORMAT="%h %d %H:%M:%S "
PROMPT_COMMAND='history -a'
export HISTCONTROL=ignorespace
# GIT
alias gdp="git checkout dev && git pull"
#alias gmp="git checkout master && git pull"
alias gs="git status"
alias gd="git diff -w"
alias gdc="git diff -w --cached"
alias ga="git add . && git status"
export PATH=~/.npm-global/bin:$PATH
# aliases
alias l="ls -lta"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment