diff options
| author | mirenn <me@mirenn.dev> | 2026-09-21 23:09:33 +0200 |
|---|---|---|
| committer | mirenn <me@mirenn.dev> | 2026-10-06 14:13:32 +0200 |
| commit | 8f9c77878f8742a47d34a50748023d1b552cfbf1 (patch) | |
| tree | f749dff061451ab8427100c452f8175de8e39c53 /mirenn/home/files/dotfiles/.config/fish | |
| parent | 8501a38d7c3bbc2e99466e6658be134c72d4f47a (diff) | |
| download | dotfiles-8f9c77878f8742a47d34a50748023d1b552cfbf1.tar.gz dotfiles-8f9c77878f8742a47d34a50748023d1b552cfbf1.zip | |
guix primer
Diffstat (limited to '')
| -rw-r--r-- | mirenn/home/files/dotfiles/.config/fish/conf.d/interactive.fish | 5 | ||||
| -rw-r--r-- | mirenn/home/files/dotfiles/.config/fish/conf.d/theme.fish (renamed from fish/conf.d/fish_frozen_theme.fish) | 10 | ||||
| -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 |
6 files changed, 12 insertions, 10 deletions
diff --git a/mirenn/home/files/dotfiles/.config/fish/conf.d/interactive.fish b/mirenn/home/files/dotfiles/.config/fish/conf.d/interactive.fish new file mode 100644 index 0000000..8f82c33 --- /dev/null +++ b/mirenn/home/files/dotfiles/.config/fish/conf.d/interactive.fish @@ -0,0 +1,5 @@ +if status is-interactive + fish_add_path -p ~/.cargo/bin ~/.ghcup/bin + set -g fish_greeting + zoxide init fish | source +end diff --git a/fish/conf.d/fish_frozen_theme.fish b/mirenn/home/files/dotfiles/.config/fish/conf.d/theme.fish index 59c07df..9b5e536 100644 --- a/fish/conf.d/fish_frozen_theme.fish +++ b/mirenn/home/files/dotfiles/.config/fish/conf.d/theme.fish @@ -1,13 +1,3 @@ -# This file was created by fish when upgrading to version 4.3, to migrate -# theme variables from universal to global scope. -# Don't edit this file, as it will be written by the web-config tool (`fish_config`). -# To customize your theme, delete this file and see -# help interactive#syntax-highlighting -# or -# man fish-interactive | less +/^SYNTAX.HIGHLIGHTING -# for appropriate commands to add to ~/.config/fish/config.fish instead. -# See also the release notes for fish 4.3.0 (run `help relnotes`). - set --global fish_color_autosuggestion brblack set --global fish_color_cancel --reverse set --global fish_color_command blue 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 |
