summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2014-11-25 17:34:00 -0500
committerJune McEnroe <june@causal.agency>2014-11-25 17:34:00 -0500
commitd8537a8138364a207177844f5550973d611d6281 (patch)
tree70d211a109ab46d4f66909e55b6e4517873cb9fe
parentAdd .pultrc to global gitignore (diff)
downloadsrc-d8537a8138364a207177844f5550973d611d6281.tar.gz
src-d8537a8138364a207177844f5550973d611d6281.zip
Keep working directory in terminal title
Diffstat (limited to '')
-rw-r--r--.zsh/title.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/.zsh/title.zsh b/.zsh/title.zsh
index 7f4d1bac..d1ad4c25 100644
--- a/.zsh/title.zsh
+++ b/.zsh/title.zsh
@@ -13,7 +13,7 @@ function title {
 }
 
 function _title_preexec {
-  [[ -z "$_title_custom" ]] && _title "$1"
+  [[ -z "$_title_custom" ]] && _title "$_title_host%1~: $1"
 }
 
 unset _title_host