diff options
author | Yigit Sever | 2023-07-21 05:00:09 +0300 |
---|---|---|
committer | Yigit Sever | 2023-07-21 05:00:09 +0300 |
commit | 66f83674945fc02408b99ddf5f353c88d3839866 (patch) | |
tree | 386476feedbbed5379554d0367beedd3edbcd9ea /.config/fish | |
parent | 026acf33a0467d0fd2a1d5df80bf7d735969d28d (diff) | |
download | dotfiles-66f83674945fc02408b99ddf5f353c88d3839866.tar.gz dotfiles-66f83674945fc02408b99ddf5f353c88d3839866.tar.bz2 dotfiles-66f83674945fc02408b99ddf5f353c88d3839866.zip |
fish: fix prompt not showing /
Diffstat (limited to '.config/fish')
-rw-r--r-- | .config/fish/functions/fish_prompt.fish | 2 |
1 files changed, 1 insertions, 1 deletions
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 | |||
16 | set marker "$marker_color# " | 16 | set marker "$marker_color# " |
17 | end | 17 | end |
18 | 18 | ||
19 | set -l cwd $cyan (string join / (string split -rn -m3 / (prompt_pwd))[-3..-1]) | 19 | set -l cwd $cyan (string join / (string split -r -m3 / (prompt_pwd))[-3..-1]) |
20 | 20 | ||
21 | echo -n -s $marker ' ' $cwd $normal ' ' | 21 | echo -n -s $marker ' ' $cwd $normal ' ' |
22 | end | 22 | end |