config-bash/profile.d/apps
2024-06-21 13:21:56 +00:00

25 lines
387 B
Bash

#!/bin/bash
# Defined prefered applications
# EDITOR
if (command -v nvim &>/dev/null); then
export EDITOR=nvim
fi
# PAGER
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