fish: keep 4 dir segements in prompt pwd

This commit is contained in:
Daniel Lundin 2024-08-21 16:39:36 +02:00
parent 086298efa3
commit 24002ffe4d
Signed by: dln
SSH key fingerprint: SHA256:dQy1Xj3UiqJYpKR5ggQ2bxgz4jCH8IF+k3AB8o0kmdI

View file

@ -90,7 +90,7 @@
fish_prompt.body = ''
echo
string join "" -- (set_color --italics) (prompt_hostname) ':' (prompt_pwd) (set_color green) ' ' (set_color normal)
string join "" -- (set_color --italics) (prompt_hostname) ':' (prompt_pwd --full-length-dirs=4) (set_color green) ' ' (set_color normal)
'';
fish_right_prompt.body = ''