summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimmy Keller <tjk@tjkeller.xyz>2023-09-09 10:32:30 -0500
committerTimmy Keller <tjk@tjkeller.xyz>2023-09-09 10:32:30 -0500
commita78d9dd25c4c2d988b425ea0ed3dc190867cd7ca (patch)
tree619caf7cee6614e04a50dd3ea73d5f4e801983ae
parentdfeee1fa12729f010d11a4e6e8c9f12e06cd6d5b (diff)
downloaddotconfig-a78d9dd25c4c2d988b425ea0ed3dc190867cd7ca.tar.xz
dotconfig-a78d9dd25c4c2d988b425ea0ed3dc190867cd7ca.zip
infinite length path in window title and make script executable
-rwxr-xr-x[-rw-r--r--]zsh/zscripts/terminalname.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/zsh/zscripts/terminalname.zsh b/zsh/zscripts/terminalname.zsh
index 8543896..6e55d22 100644..100755
--- a/zsh/zscripts/terminalname.zsh
+++ b/zsh/zscripts/terminalname.zsh
@@ -4,5 +4,5 @@ function xtitle () {
# Updates the window title whenever a command is run
function precmd () {
- xtitle "$(print -P ${USER}@${HOST} %2~)"
+ xtitle "$(print -P ${USER}@${HOST} %~)"
}