summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <programble@gmail.com>2014-11-25 17:34:00 -0500
committerJune McEnroe <programble@gmail.com>2014-11-25 17:34:00 -0500
commitf080b38e054656b46fc5045992a4edfcd16a3af2 (patch)
tree775a4e53c96e64eacbd6bf0a72a6dce5af48e826
parentAdd .pultrc to global gitignore (diff)
downloadsrc-f080b38e054656b46fc5045992a4edfcd16a3af2.tar.gz
src-f080b38e054656b46fc5045992a4edfcd16a3af2.zip
Keep working directory in terminal title
-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