diff options
author | Yigit Sever | 2021-11-11 18:41:16 +0300 |
---|---|---|
committer | Yigit Sever | 2021-11-11 18:41:16 +0300 |
commit | 947d163b38940f64541a46cabfa884778fe69817 (patch) | |
tree | 2a3f5aeeadbf028521685f5cf98d89d0416c27f2 /.config/fish/functions | |
parent | bcd732aacc6a1bad700c8ceca5974656cbfc3cf2 (diff) | |
download | dotfiles-947d163b38940f64541a46cabfa884778fe69817.tar.gz dotfiles-947d163b38940f64541a46cabfa884778fe69817.tar.bz2 dotfiles-947d163b38940f64541a46cabfa884778fe69817.zip |
fish: migration
Diffstat (limited to '.config/fish/functions')
-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 24e6e71..eb90abb 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) | tail -n3)) | 19 | set -l cwd $cyan (string join / (string split -rn -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 |