Customized fish title to work with emacs
This commit is contained in:
parent
2beef2a403
commit
0500c62e81
1 changed files with 12 additions and 0 deletions
12
shells/fish/functions/fish_title.fish
Normal file
12
shells/fish/functions/fish_title.fish
Normal 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
|
Loading…
Reference in a new issue