Files

8 lines
279 B
Fish
Raw Permalink Normal View History

2026-10-14 13:32:31 -04:00
# Set the tmux/screen window name from $PWD (the ESC-k sequence).
# fish_title() handles the regular terminal title; this targets multiplexers.
status is-interactive; or return
function terminal_title --on-variable PWD
printf '\033k%s\033\\' (prompt_pwd)
end
terminal_title