aboutsummaryrefslogtreecommitdiff
path: root/zsh/functions.zsh-overrides
diff options
context:
space:
mode:
Diffstat (limited to 'zsh/functions.zsh-overrides')
-rw-r--r--zsh/functions.zsh-overrides6
1 files changed, 3 insertions, 3 deletions
diff --git a/zsh/functions.zsh-overrides b/zsh/functions.zsh-overrides
index 9826007..8b233e5 100644
--- a/zsh/functions.zsh-overrides
+++ b/zsh/functions.zsh-overrides
@@ -1,8 +1,8 @@
preexec () {
- term_preexec $*
- theme_preexec $*
+ type term_preexec &> /dev/null && term_preexec $*
+ type theme_preexec &> /dev/null && theme_preexec $*
}
precmd () {
- term_precmd
+ type term_precmd &> /dev/null && term_precmd
}