update zsh terminal title

This commit is contained in:
Tomas Mirchev 2025-07-15 02:24:58 +02:00
parent dbf57a2c4e
commit c5a12568a8

View File

@ -12,6 +12,9 @@ zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}' # Case Insensitive
setopt autocd # cd without it
setopt share_history
# Set terminal title to hostname
echo -n -e "\033]0;SSH: $(hostname)\007"
# Git prompt function
git_prompt_info() {
if git rev-parse --is-inside-work-tree >/dev/null 2>&1; then