Last active
December 20, 2015 11:09
-
-
Save pharmazone/6120596 to your computer and use it in GitHub Desktop.
common.zsh
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
# 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