Commit 6713aef9 authored by Robby Russell's avatar Robby Russell
Browse files

Merge branch 'master' of github.com:robbyrussell/oh-my-zsh

parents aa16e186 7b71dccb
......@@ -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
......
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment