diff options
Diffstat (limited to '')
| -rw-r--r-- | mirenn/home/files/dotfiles/.config/fish/functions/cat.fish (renamed from fish/functions/cat.fish) | 0 | ||||
| -rw-r--r-- | mirenn/home/files/dotfiles/.config/fish/functions/fish_prompt.fish | 7 | ||||
| -rw-r--r-- | mirenn/home/files/dotfiles/.config/fish/functions/rm.fish (renamed from fish/functions/rm.fish) | 0 | ||||
| -rw-r--r-- | mirenn/home/files/dotfiles/.config/fish/functions/shrekfetch.fish (renamed from fish/functions/shrekfetch.fish) | 0 |
4 files changed, 7 insertions, 0 deletions
diff --git a/fish/functions/cat.fish b/mirenn/home/files/dotfiles/.config/fish/functions/cat.fish index 73b5541..73b5541 100644 --- a/fish/functions/cat.fish +++ b/mirenn/home/files/dotfiles/.config/fish/functions/cat.fish 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 diff --git a/fish/functions/rm.fish b/mirenn/home/files/dotfiles/.config/fish/functions/rm.fish index 7d8fe20..7d8fe20 100644 --- a/fish/functions/rm.fish +++ b/mirenn/home/files/dotfiles/.config/fish/functions/rm.fish diff --git a/fish/functions/shrekfetch.fish b/mirenn/home/files/dotfiles/.config/fish/functions/shrekfetch.fish index 191c64f..191c64f 100644 --- a/fish/functions/shrekfetch.fish +++ b/mirenn/home/files/dotfiles/.config/fish/functions/shrekfetch.fish |
