diff options
author | Matt Singleton <matt@xcolour.net> | 2021-02-04 09:02:34 -0600 |
---|---|---|
committer | Matt Singleton <matt@xcolour.net> | 2021-02-04 09:02:34 -0600 |
commit | 96cd574530b812fa632e9408ae1db472c4262de1 (patch) | |
tree | 54f2ea30257836c7a92b60bc5d32d618f6ac4953 /zsh/functions.zsh-overrides | |
parent | 8d3126b55c42b33fad5d1e9e64d74c7d04bc0806 (diff) |
recognize alacritty as a terminal that supports setting the title and fall back cleanly if zsh pre* functions are not set
Diffstat (limited to 'zsh/functions.zsh-overrides')
-rw-r--r-- | zsh/functions.zsh-overrides | 6 |
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 } |