Show only the pwd from the prompt in the title

This works well together with Emacs Vterm to show the current working directory
in the mode-line.
This commit is contained in:
Tom Willemse 2020-12-18 00:17:22 -08:00
parent 90124cc20f
commit dfa3244bea

View file

@ -1,6 +1,5 @@
function fish_title function fish_title
echo "$TERM:" (status current-command) ' ' prompt_pwd
pwd
end end
function hc function hc