diff options
Diffstat (limited to 'dotfiles/.config')
-rw-r--r-- | dotfiles/.config/zsh/.zshrc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dotfiles/.config/zsh/.zshrc b/dotfiles/.config/zsh/.zshrc index 4a21004..717a34c 100644 --- a/dotfiles/.config/zsh/.zshrc +++ b/dotfiles/.config/zsh/.zshrc @@ -52,11 +52,11 @@ function zle-keymap-select { } echo -ne '\e[5 q' # Use beam shape cursor on startup. -printf "\033]2;%s\a" "$PWD" # Set terminal window title to current dir +printf "\033]2;%s\a" "$HOST:$PWD" # Set terminal window title to current dir # Repeat for every new prompt -preexec() { +precmd () { echo -ne '\e[5 q' - printf "\033]2;%s\a" "$PWD" + printf "\033]2;%s\a" "$HOST:$PWD" } zle -N zle-keymap-select |