Skip to content

Commit

Permalink
change terminal window title
Browse files Browse the repository at this point in the history
  • Loading branch information
martimlobao committed Jan 23, 2025
1 parent a7aeffe commit 1c5aa0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion linkme/.zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ zstyle ':omz:update' frequency 14
DISABLE_AUTO_TITLE="true"
precmd() {
FOLDER=$( [[ "$PWD" == "$HOME" ]] && echo '~' || basename "$PWD" )
eval "echo -ne '\033]0;${USER}@${HOST}:${FOLDER}\007'"
eval "echo -ne '\033]0;${FOLDER}\007'"
}


Expand Down

0 comments on commit 1c5aa0a

Please sign in to comment.