From 7ecc0142e5050a4cfb0a2618f6331194d5b8ec24 Mon Sep 17 00:00:00 2001 From: Kevin MacMartin Date: Fri, 16 Mar 2018 14:29:37 -0400 Subject: [PATCH] Don't spawn a subshell to check for vim --- update | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update b/update index 9ba5d5d..72ab207 100755 --- a/update +++ b/update @@ -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!"