Files

8 lines
221 B
Fish
Raw Permalink Normal View History

2026-10-14 13:32:31 -04:00
function fish_title
# Show a short hostname over SSH, otherwise just the current directory.
if set -q SSH_TTY
echo (prompt_hostname | string sub -l 10):(prompt_pwd)
else
prompt_pwd
end
end