config-bash/profile.d/apps

25 lines
387 B
Plaintext
Raw Normal View History

2013-04-24 16:58:31 +02:00
#!/bin/bash
# Defined prefered applications
# EDITOR
if (command -v nvim &>/dev/null); then
export EDITOR=nvim
fi
# PAGER
2013-04-24 16:58:31 +02:00
export PAGER=less
# MANPAGER
if (command -v nvim &>/dev/null); then
export MANPAGER='nvim +Man!'
elif (command -v bat &>/dev/null); then
export MANPAGER="sh -c 'col -bx | bat -l man -p'"
fi
# TERMINAL
export TERMINAL=kitty
# BROWSER
export BROWSER=firefox