From e8a146b6aac3e3c80bdbaefeb340b1d4a2a83c2c Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Sat, 17 Dec 2016 13:16:14 +0100 Subject: Move fish coloring into `config.fish` instead of configuring them using the `fish_config` UI --- fish/.config/fish/functions/man.fish | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 fish/.config/fish/functions/man.fish (limited to 'fish/.config/fish/functions/man.fish') diff --git a/fish/.config/fish/functions/man.fish b/fish/.config/fish/functions/man.fish new file mode 100644 index 0000000..0059a73 --- /dev/null +++ b/fish/.config/fish/functions/man.fish @@ -0,0 +1,6 @@ +function man --description "colored man" + set -x LESS_TERMCAP_md (printf "\e[1;32m") + set -x LESS_TERMCAP_me (printf "\e[0m") + + env man $argv +end -- cgit v1.2.3