From e9295f8292ccaf12d4fc95efa5e9d31ad0abfd35 Mon Sep 17 00:00:00 2001 From: Andre Ramnitz Date: Tue, 24 Sep 2024 07:28:01 +0200 Subject: [PATCH] fish: appropriate color treatment and workaround for man-pages --- config/dot-config/fish/config.fish | 2 +- config/dot-config/fish/functions/man.fish | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 config/dot-config/fish/functions/man.fish diff --git a/config/dot-config/fish/config.fish b/config/dot-config/fish/config.fish index ea5c7ba9..1bbea8f3 100644 --- a/config/dot-config/fish/config.fish +++ b/config/dot-config/fish/config.fish @@ -1,7 +1,7 @@ if status is-interactive # Commands to run in interactive sessions can go here # - sh ~/.local/bin/base16-flavours + fish ~/.local/bin/base16-flavours-fish source ~/.config/fish/functions/eza-aliases.fish set EZA_COLORS "*.patch.skip=38;5;244" command fastfetch -c ~/.config/fastfetch/config.jsonc diff --git a/config/dot-config/fish/functions/man.fish b/config/dot-config/fish/functions/man.fish new file mode 100644 index 00000000..bae3a074 --- /dev/null +++ b/config/dot-config/fish/functions/man.fish @@ -0,0 +1,4 @@ +function man --description 'alias man=PAGER=less command man' + PAGER=less command man $argv + +end -- 2.51.2