diff options
Diffstat (limited to 'mirenn/home/files/dotfiles/.config/fish/functions/fish_prompt.fish')
| -rw-r--r-- | mirenn/home/files/dotfiles/.config/fish/functions/fish_prompt.fish | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mirenn/home/files/dotfiles/.config/fish/functions/fish_prompt.fish b/mirenn/home/files/dotfiles/.config/fish/functions/fish_prompt.fish new file mode 100644 index 0000000..e0df61e --- /dev/null +++ b/mirenn/home/files/dotfiles/.config/fish/functions/fish_prompt.fish @@ -0,0 +1,7 @@ +function fish_prompt + printf (if fish_is_root_user + echo '%s%s%s # ' + else + echo '%s%s%s $ ' + end) (set_color $fish_color_cwd) (prompt_pwd --full-length-dirs 5) (set_color normal) +end |
