Customized fish title to work with emacs

This commit is contained in:
Marcel Kapfer 2017-10-21 18:09:27 +02:00
parent 2beef2a403
commit 0500c62e81
1 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,12 @@
# Defined in /tmp/fish.au862c/fish_title.fish @ line 2
function fish_title
if test -z $EMACS
if test $_ = 'fish'
echo (prompt_pwd)
else
echo $_
end
else
true
end
end