diff --git a/zsh/rc b/zsh/rc index 85e708b..1099b84 100644 --- a/zsh/rc +++ b/zsh/rc @@ -118,6 +118,10 @@ unset _antidote _plugins _plugins_cache # Ref: https://zsh.sourceforge.io/Doc/Release/Functions.html#Functions function set_terminal_title() { + if [ -n "$SSH_CLIENT" ]; then + return + fi + local title if [ -z "$1" ]; then title=$(basename "$(print -P "%~")")