From f996fcd823d4181d0fd352e1e54ae166573c4ead Mon Sep 17 00:00:00 2001 From: Sean Abraham Date: Tue, 17 Oct 2017 00:12:39 -0700 Subject: [PATCH] Use whence -c to expand shell functions as well --- themes/steeef.zsh-theme | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/steeef.zsh-theme b/themes/steeef.zsh-theme index abc924f1..77a20afe 100644 --- a/themes/steeef.zsh-theme +++ b/themes/steeef.zsh-theme @@ -62,7 +62,7 @@ zstyle ':vcs_info:*:prompt:*' nvcsformats "" function steeef_preexec { - case "$(whence $(fc -l $HISTCMD $HISTCMD))" in + case "$(whence -c $(fc -l $HISTCMD $HISTCMD))" in *git*) PR_GIT_UPDATE=1 ;;