From 8f9c77878f8742a47d34a50748023d1b552cfbf1 Mon Sep 17 00:00:00 2001 From: mirenn Date: Mon, 21 Sep 2026 23:09:33 +0200 Subject: guix primer --- .../dotfiles/.config/fish/conf.d/interactive.fish | 5 +++ .../files/dotfiles/.config/fish/conf.d/theme.fish | 38 ++++++++++++++++++++++ .../files/dotfiles/.config/fish/functions/cat.fish | 3 ++ .../.config/fish/functions/fish_prompt.fish | 7 ++++ .../files/dotfiles/.config/fish/functions/rm.fish | 3 ++ .../.config/fish/functions/shrekfetch.fish | 3 ++ 6 files changed, 59 insertions(+) create mode 100644 mirenn/home/files/dotfiles/.config/fish/conf.d/interactive.fish create mode 100644 mirenn/home/files/dotfiles/.config/fish/conf.d/theme.fish create mode 100644 mirenn/home/files/dotfiles/.config/fish/functions/cat.fish create mode 100644 mirenn/home/files/dotfiles/.config/fish/functions/fish_prompt.fish create mode 100644 mirenn/home/files/dotfiles/.config/fish/functions/rm.fish create mode 100644 mirenn/home/files/dotfiles/.config/fish/functions/shrekfetch.fish (limited to 'mirenn/home/files/dotfiles/.config/fish') 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/mirenn/home/files/dotfiles/.config/fish/conf.d/theme.fish b/mirenn/home/files/dotfiles/.config/fish/conf.d/theme.fish new file mode 100644 index 0000000..9b5e536 --- /dev/null +++ b/mirenn/home/files/dotfiles/.config/fish/conf.d/theme.fish @@ -0,0 +1,38 @@ +set --global fish_color_autosuggestion brblack +set --global fish_color_cancel --reverse +set --global fish_color_command blue +set --global fish_color_comment red +set --global fish_color_cwd green +set --global fish_color_cwd_root red +set --global fish_color_end green +set --global fish_color_error brred +set --global fish_color_escape brcyan +set --global fish_color_history_current --bold +set --global fish_color_host normal +set --global fish_color_host_remote yellow +set --global fish_color_keyword normal +set --global fish_color_match --background=brblue +set --global fish_color_normal normal +set --global fish_color_operator brcyan +set --global fish_color_option cyan +set --global fish_color_param cyan +set --global fish_color_quote yellow +set --global fish_color_redirection cyan --bold +set --global fish_color_search_match bryellow --background=brblack +set --global fish_color_selection white --bold --background=brblack +set --global fish_color_status red +set --global fish_color_user brgreen +set --global fish_color_valid_path --underline +set --global fish_pager_color_background +set --global fish_pager_color_completion normal +set --global fish_pager_color_description yellow --italics +set --global fish_pager_color_prefix normal --bold --underline +set --global fish_pager_color_progress brwhite --background=cyan +set --global fish_pager_color_secondary_background +set --global fish_pager_color_secondary_completion +set --global fish_pager_color_secondary_description +set --global fish_pager_color_secondary_prefix +set --global fish_pager_color_selected_background --reverse +set --global fish_pager_color_selected_completion +set --global fish_pager_color_selected_description +set --global fish_pager_color_selected_prefix diff --git a/mirenn/home/files/dotfiles/.config/fish/functions/cat.fish b/mirenn/home/files/dotfiles/.config/fish/functions/cat.fish new file mode 100644 index 0000000..73b5541 --- /dev/null +++ b/mirenn/home/files/dotfiles/.config/fish/functions/cat.fish @@ -0,0 +1,3 @@ +function cat --wraps=bat --description 'alias cat bat' + bat $argv +end 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/mirenn/home/files/dotfiles/.config/fish/functions/rm.fish b/mirenn/home/files/dotfiles/.config/fish/functions/rm.fish new file mode 100644 index 0000000..7d8fe20 --- /dev/null +++ b/mirenn/home/files/dotfiles/.config/fish/functions/rm.fish @@ -0,0 +1,3 @@ +function rm --wraps=trash --description 'alias rm trash' + trash $argv +end diff --git a/mirenn/home/files/dotfiles/.config/fish/functions/shrekfetch.fish b/mirenn/home/files/dotfiles/.config/fish/functions/shrekfetch.fish new file mode 100644 index 0000000..191c64f --- /dev/null +++ b/mirenn/home/files/dotfiles/.config/fish/functions/shrekfetch.fish @@ -0,0 +1,3 @@ +function shrekfetch --wraps='fastfetch -l ~/Pictures/shrek.jpg --logo-type sixel --logo-width 30' --description 'alias shrekfetch fastfetch -l ~/Pictures/shrek.jpg --logo-type sixel --logo-width 30' + fastfetch -l ~/Pictures/shrek.jpg --logo-type sixel --logo-width 30 $argv +end -- cgit v1.2.3