Add my settings
This commit is contained in:
parent
4f19700919
commit
17b7cd59b2
1 changed files with 17 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue