merge origine/master
authorPeng Li <seudut@gmail.com>
Mon, 14 Sep 2015 10:13:35 +0000 (18:13 +0800)
committerPeng Li <seudut@gmail.com>
Mon, 14 Sep 2015 10:13:35 +0000 (18:13 +0800)
1  2 
zsh/zshrc

diff --cc zsh/zshrc
+++ b/zsh/zshrc
@@@ -213,19 -213,5 +213,21 @@@ export ZSHHOME="$HOME/.zsh
  alias emacs='TERM=xterm-256color emacs -nw'
  
  alias tw='open -a /Applications/TextWrangler.app/'
 +
 +#
 +#function exists { which $1 &> /dev/null }
 +#
 +#if exists percol; then
 +#    function percol_select_history() {
 +#        local tac
 +#        exists gtac && tac="gtac" || { exists tac && tac="tac" || { tac="tail -r" } }
 +#        BUFFER=$(fc -l -n 1 | eval $tac | percol --query "$LBUFFER")
 +#        CURSOR=$#BUFFER         # move cursor
 +#        zle -R -c               # refresh
 +#    }
 +#
 +#    zle -N percol_select_history
 +#    bindkey '^R' percol_select_history
 +#fi
+ export LANG='en_US.UTF-8'
+ export LC_ALL="en_US.UTF-8"