2013-04-24 16:58:31 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
# Defined prefered applications
|
2024-06-21 15:21:56 +02:00
|
|
|
|
|
|
|
# EDITOR
|
|
|
|
if (command -v nvim &>/dev/null); then
|
|
|
|
export EDITOR=nvim
|
|
|
|
fi
|
|
|
|
|
|
|
|
# PAGER
|
2013-04-24 16:58:31 +02:00
|
|
|
export PAGER=less
|
|
|
|
|
2024-06-21 15:21:56 +02:00
|
|
|
# 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
|