Last active
August 29, 2015 14:21
-
-
Save plttn/b21c39081ea638473589 to your computer and use it in GitHub Desktop.
adjusts fish shell title (as well as fixes SSH title bug with Terminal.app)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Load exit_handler | |
. $HOME/.config/fish/functions/exit_handler.fish |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function exit_handler --on-process-exit %self | |
printf "\x1b]0;\7" | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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