Run reset
in post-up hook to fix terminal issue
Some tmux users have reported that when running `rcup` that during the post-up hook Vim would issue errors about input not coming from a terminal and then the terminal would look and behave unexpectedly. Running `reset` after the Vim plugin install step in `post-up` appears to resolve the issue. Fix #516.
This commit is contained in:
parent
3bbab420bc
commit
336a282602
1 changed files with 2 additions and 0 deletions
|
@ -8,6 +8,8 @@ if [ ! -e "$HOME"/.vim/autoload/plug.vim ]; then
|
|||
fi
|
||||
vim -u "$HOME"/.vimrc.bundles +PlugInstall +PlugClean! +qa
|
||||
|
||||
reset -Q
|
||||
|
||||
# detect old OS X broken /etc/zshenv and suggest rename
|
||||
if grep -qw path_helper /etc/zshenv 2>/dev/null; then
|
||||
if [ -t 2 ]; then
|
||||
|
|
Loading…
Add table
Reference in a new issue