Add my settings

This commit is contained in:
takiy33 2016-07-10 10:34:13 +09:00
parent 4f19700919
commit 17b7cd59b2

View file

@ -11,3 +11,20 @@ if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then
fi
# Customize to your needs...
eval "$(rbenv init -)"
alias g='git'
alias bi='bundle install'
alias be='bundle exec'
function peco-src () {
local selected_dir=$(ghq list -p | peco --query "$LBUFFER")
if [ -n "$selected_dir" ]; then
BUFFER="cd ${selected_dir}"
zle accept-line
fi
zle clear-screen
}
zle -N peco-src
bindkey '^]' peco-src