summaryrefslogtreecommitdiff
path: root/.zshrc
diff options
context:
space:
mode:
Diffstat (limited to '.zshrc')
-rw-r--r--.zshrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.zshrc b/.zshrc
index 78cffdf..b0ec719 100644
--- a/.zshrc
+++ b/.zshrc
@@ -58,7 +58,7 @@ function () {
# Create the prexec hook function to set the title to the current command
preexec () {
- [[ -n "${pr_wt_in}" ]] && print -nPR "${pr_wt_in}%l) %n@%m: %40>...>${(V)1//\%/%%}%<<${pr_wt_out}";
+ [[ -n "${pr_wt_in}" ]] && print -nPR "${pr_wt_in}%(!.[ROOT] | .)%l) %n@%m: %40>...>${(V)1//\%/%%}%<<${pr_wt_out}";
}
}