From dfa3244bea2bfe18c1b2a018a14a50a61ff84df9 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Fri, 18 Dec 2020 00:17:22 -0800 Subject: [PATCH] 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. --- fish/.config/fish/config.fish | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fish/.config/fish/config.fish b/fish/.config/fish/config.fish index 319a055..416b290 100644 --- a/fish/.config/fish/config.fish +++ b/fish/.config/fish/config.fish @@ -1,6 +1,5 @@ function fish_title - echo "$TERM:" (status current-command) ' ' - pwd + prompt_pwd end function hc