dots

Dotfiles for Linux
Log | Files | Refs | README

commit c3370a3d28153959e4f695c544d19151cf9473c7
parent ae43724420c168ac7c324806288f7024a6b4637e
Author: Chris Kiriakou <chris@kiriakou.net>
Date:   Sat, 19 Sep 2026 11:10:03 +0200

Change prompt

Diffstat:
Mzsh/dot-zshrc | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/zsh/dot-zshrc b/zsh/dot-zshrc @@ -10,7 +10,7 @@ precmd() { vcs_info if test -n "$SSH_CLIENT" then - print -Pn "\e]0;[SSH] %n@%m in %/\a" # show session info on window title + print -Pn "\e]0;SSH %n@%m in %/\a" # show session info on window title else print -Pn "\e]0;%n@%m in %/\a" fi @@ -20,7 +20,7 @@ precmd() { fmt_prompt() { if test -n "$SSH_CLIENT" then - print "[SSH] %n@%m \n%3~${vcs_info_msg_0_}%(?.. E:%?) %# " + print "SSH %n@%m %3~${vcs_info_msg_0_}%(?.. E:%?) %# " else print "%3~${vcs_info_msg_0_}%(?.. E:%?) %# " fi