Don't spawn a subshell to check for vim

This commit is contained in:
Kevin MacMartin 2018-03-16 14:29:37 -04:00
parent 68f480a867
commit 7ecc0142e5

2
update
View file

@ -261,7 +261,7 @@ fi
}
### GENERATE PLUGIN HELP
[[ $(type -P vim) ]] && {
type -P vim >/dev/null && {
printf '%s' "$cbg_blue >> Generating plugin help:$c_reset"
$timeout_command --preserve-status --foreground 1m vim -u "./vimrc" -c "Helptags|qa!"