Skip to content

Commit

Permalink
Merge branch 'master' of github.com:robbyrussell/oh-my-zsh
Browse files Browse the repository at this point in the history
  • Loading branch information
robbyrussell committed Feb 22, 2015
2 parents aa16e18 + 7b71dcc commit 6713aef
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion lib/completion.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ fi

# disable named-directories autocompletion
zstyle ':completion:*:cd:*' tag-order local-directories directory-stack path-directories
cdpath=(.)

# Use caching so that commands like apt and dpkg complete are useable
zstyle ':completion::complete:*' use-cache 1
Expand Down
5 changes: 1 addition & 4 deletions plugins/vi-mode/vi-mode.plugin.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,7 @@ function zle-keymap-select zle-line-init zle-line-finish {

# Ensure that the prompt is redrawn when the terminal size changes.
TRAPWINCH() {
if [[ -o zle ]]; then
zle reset-prompt
zle -R
fi
zle && { zle reset-prompt; zle -R }
}

zle -N zle-line-init
Expand Down

0 comments on commit 6713aef

Please sign in to comment.