Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Maxime Bombar
Config_Files
Commits
9316374f
Commit
9316374f
authored
Jun 14, 2020
by
Maxime Bombar
Browse files
[zshrc] Black magic to make less more like bat
parent
654a256c
Changes
1
Hide whitespace changes
Inline
Side-by-side
.zshrc
View file @
9316374f
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment