diff options
author | Adrian Kummerlaender | 2016-12-17 13:16:14 +0100 |
---|---|---|
committer | Adrian Kummerlaender | 2016-12-17 13:16:14 +0100 |
commit | e8a146b6aac3e3c80bdbaefeb340b1d4a2a83c2c (patch) | |
tree | 77876840247cdd7e7ff54a7fc3a41006ea968b7a | |
parent | 00fb152bbcf000568389cb3c5d9b348c826e3af4 (diff) | |
download | dotfiles-e8a146b6aac3e3c80bdbaefeb340b1d4a2a83c2c.tar dotfiles-e8a146b6aac3e3c80bdbaefeb340b1d4a2a83c2c.tar.gz dotfiles-e8a146b6aac3e3c80bdbaefeb340b1d4a2a83c2c.tar.bz2 dotfiles-e8a146b6aac3e3c80bdbaefeb340b1d4a2a83c2c.tar.lz dotfiles-e8a146b6aac3e3c80bdbaefeb340b1d4a2a83c2c.tar.xz dotfiles-e8a146b6aac3e3c80bdbaefeb340b1d4a2a83c2c.tar.zst dotfiles-e8a146b6aac3e3c80bdbaefeb340b1d4a2a83c2c.zip |
Move fish coloring into `config.fish`
instead of configuring them using the `fish_config` UI
-rw-r--r-- | fish/.config/fish/config.fish | 10 | ||||
-rw-r--r-- | fish/.config/fish/functions/man.fish | 6 |
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 |