summaryrefslogtreecommitdiff
path: root/lib/termsupport.zsh
diff options
context:
space:
mode:
authorAndrew Janke <janke@pobox.com>2015-02-04 01:00:51 -0500
committerAndrew Janke <janke@pobox.com>2015-02-04 01:00:51 -0500
commitbe7028012ecc97bf8976d5de0aed51869720be2a (patch)
tree26e953da0ab5069f6497eeca27b0d8197ec27925 /lib/termsupport.zsh
parent5f79ab5547f51bd32dcd0a1b21fc26c8720711ba (diff)
downloadzsh-be7028012ecc97bf8976d5de0aed51869720be2a.tar.gz
zsh-be7028012ecc97bf8976d5de0aed51869720be2a.tar.bz2
zsh-be7028012ecc97bf8976d5de0aed51869720be2a.zip
Reword comments on termsupport internal functions.
Diffstat (limited to 'lib/termsupport.zsh')
-rw-r--r--lib/termsupport.zsh4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/termsupport.zsh b/lib/termsupport.zsh
index ce36f229f..bd0cf6ffe 100644
--- a/lib/termsupport.zsh
+++ b/lib/termsupport.zsh
@@ -16,7 +16,7 @@ function title {
ZSH_THEME_TERM_TAB_TITLE_IDLE="%15<..<%~%<<" #15 char left truncated PWD
ZSH_THEME_TERM_TITLE_IDLE="%n@%m: %~"
-# Runs when you have the prompt
+# Runs before showing the prompt
function omz_termsupport_precmd {
title $ZSH_THEME_TERM_TAB_TITLE_IDLE $ZSH_THEME_TERM_TITLE_IDLE
@@ -28,7 +28,7 @@ function omz_termsupport_precmd {
fi
}
-# Runs at the beginning of (and during) of command execution
+# Runs before executing the command
function omz_termsupport_preexec {
emulate -L zsh
setopt extended_glob