]> Freerunner's - dotfiles.git/commitdiff
fish: appropriate color treatment and workaround for man-pages
authorAndre Ramnitz <tux.rising@gmail.com>
Tue, 24 Sep 2024 05:28:01 +0000 (07:28 +0200)
committerAndre Ramnitz <tux.rising@gmail.com>
Tue, 24 Sep 2024 05:59:46 +0000 (07:59 +0200)
config/dot-config/fish/config.fish
config/dot-config/fish/functions/man.fish [new file with mode: 0644]

index ea5c7ba90cb8d771fc73b1dfeb35ba2a86a32437..1bbea8f301e9490c61026321b3c50744f5e1edd6 100644 (file)
@@ -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 (file)
index 0000000..bae3a07
--- /dev/null
@@ -0,0 +1,4 @@
+function man --description 'alias man=PAGER=less command man'
+  PAGER=less command man $argv
+        
+end