summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTharre <tharre3@gmail.com>2019-03-02 14:51:40 +0100
committerTharre <tharre3@gmail.com>2019-03-02 14:51:40 +0100
commit2e51e50fa0993074601e07178cd34ad6f8050896 (patch)
tree934836e68ebaef89452ffaaec3f75e841ee2fa0b
parent6aa2949c9a075d77d9268050c78950af18d91e83 (diff)
downloaddotfiles-2e51e50fa0993074601e07178cd34ad6f8050896.tar.gz
dotfiles-2e51e50fa0993074601e07178cd34ad6f8050896.tar.xz
dotfiles-2e51e50fa0993074601e07178cd34ad6f8050896.zip
zsh: fix typo
-rw-r--r--.zshrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/.zshrc b/.zshrc
index 7259188..8d8bdf6 100644
--- a/.zshrc
+++ b/.zshrc
@@ -112,7 +112,7 @@ function set_title_precmd {
title "%15<..<%~%<<" $ZSH_THEME_TERM_TITLE_IDLE
}
-function set_tilte_preexec {
+function set_title_preexec {
setopt extended_glob
# cmd name only, or if this is sudo or ssh, the next cmd
@@ -123,7 +123,7 @@ function set_tilte_preexec {
}
precmd_functions+=(set_title_precmd)
-preexec_functions+=(set_tilte_preexec)
+preexec_functions+=(set_title_preexec)
# zshenv may not be attached to a tty, so we set this here instead
export GPG_TTY="$(tty)"