Skip to content

Instantly share code, notes, and snippets.

@pharmazone
Last active December 20, 2015 11: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 pharmazone/6120596 to your computer and use it in GitHub Desktop.
Save pharmazone/6120596 to your computer and use it in GitHub Desktop.
common.zsh
# ENV
export EDITOR=vim
export CLICOLOR=1
export LC_CTYPE=utf-8
export LC_CTYPE=en_US.UTF-8
export LC_ALL=en_US.UTF-8
# alias
#alias file
alias ls='ls -Fh --color'
alias ll='ls -lFh'
alias la='ls -ah'
alias li='ls -ialh'
alias :q='exit'
alias less='less -r'
alias glog="git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative"
# bindings
bindkey '\e[A' history-beginning-search-backward
bindkey '\e[B' history-beginning-search-forward
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment