manager/config/bash/bashrc.d/misc

22 lines
625 B
Text
Raw Normal View History

2022-04-18 00:14:34 +01:00
## Description: Bash configuration where we can't categorize anywhere else.
## vim: ft=sh :
export BROWSER=firefox
export EDITOR=nvim
export TERMINAL=st
export LANG=en_GB.UTF-8
export MANPAGER="nvim -c 'set ft=man' -"
# == vi mode in Bash
set -o vi
# == make less more friendly for non-text input files, see lesspipe(1)
[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"
# == ensure that programmable completion features are enabled.
if [ -f /usr/share/bash-completion/bash_completion ]; then
. /usr/share/bash-completion/bash_completion
elif [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi