From 66f83674945fc02408b99ddf5f353c88d3839866 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Fri, 21 Jul 2023 05:00:09 +0300 Subject: fish: fix prompt not showing / --- .config/fish/functions/fish_prompt.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.config/fish/functions') diff --git a/.config/fish/functions/fish_prompt.fish b/.config/fish/functions/fish_prompt.fish index daaadbc..3b6e639 100644 --- a/.config/fish/functions/fish_prompt.fish +++ b/.config/fish/functions/fish_prompt.fish @@ -16,7 +16,7 @@ function fish_prompt set marker "$marker_color# " end - set -l cwd $cyan (string join / (string split -rn -m3 / (prompt_pwd))[-3..-1]) + set -l cwd $cyan (string join / (string split -r -m3 / (prompt_pwd))[-3..-1]) echo -n -s $marker ' ' $cwd $normal ' ' end -- cgit v1.2.3-61-g4310