manager/config/bash/bashrc.d/misc
Dan Anglin 30038788b4
feat(bash): XDG Dir spec updates and other fixes
- Update program configurations to use the XDG Directories with the help
  of xdg-ninja.
- Add missing alias for the copy command.
- Remove the alias for tmux since it should now support XDG_CONFIG_HOME
  by default.
- Remove the run_package_updates function since this is now a bash
  script.
- Update the MANPAGER variable so that it works properly with neovim,
2022-05-15 21:33:17 +01:00

21 lines
613 B
Bash

## 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 +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