aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fish/.config/fish/config.fish10
-rw-r--r--fish/.config/fish/functions/man.fish6
2 files changed, 16 insertions, 0 deletions
diff --git a/fish/.config/fish/config.fish b/fish/.config/fish/config.fish
index 1b65a09..9b59053 100644
--- a/fish/.config/fish/config.fish
+++ b/fish/.config/fish/config.fish
@@ -11,6 +11,16 @@ alias weather='curl wttr.in/Karlsruhe'
eval (dircolors -c ~/.dir_colors)
eval (python -m virtualfish)
+set fish_color_normal white
+set fish_color_command magenta --bold
+set fish_color_param green
+set fish_color_error brred
+set fish_color_operator cyan
+set fish_color_comment white
+set fish_color_cwd green
+set fish_color_quote brown
+set fish_color_autosuggestion 555
+
if [ (hostname) = "obelix" ]
set PATH $PATH /usr/local/bin/ /usr/local/texlive/2014/bin/x86_64-linux ~/.cabal/bin/
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