Commit 9316374f authored by Maxime Bombar's avatar Maxime Bombar
Browse files

[zshrc] Black magic to make less more like bat

parent 654a256c
......@@ -635,7 +635,11 @@ export PATH="$HOME/.gems/bin:$PATH"
## Bat is black magic. Use bat with man
which bat > /dev/null
bat=$?; if [[ $bat = 0 ]]; then export MANPAGER="sh -c 'col -bx | bat -l man -p'"; fi
bat=$?; if [[ $bat = 0 ]];
then export MANPAGER="sh -c 'col -bx | bat -l man -p'";
# Black magic to make less be more like bat
export LESSOPEN="|bat --decorations=always --color=always %s";
fi
export MOZ_LOG=SMTP:5,timestamp
export MOZ_LOG_FILE=/var/log/thunderbird/thunderbird
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment