Skip to content

Instantly share code, notes, and snippets.

@plttn
Last active Aug 29, 2015
Embed
What would you like to do?
adjusts fish shell title (as well as fixes SSH title bug with Terminal.app)
# Load exit_handler
. $HOME/.config/fish/functions/exit_handler.fish
function exit_handler --on-process-exit %self
printf "\x1b]0;\7"
end
function fish_title
echo $_ " "
echo -n (prompt_pwd)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment