dotfiles/.void.profile

28 lines
553 B
Plaintext
Raw Normal View History

2022-09-19 14:21:30 +02:00
[ -n "$BASH_VERSION" ] && [ -f $HOME/.bashrc ] && . $HOME/.bashrc
2022-07-12 11:26:19 +02:00
2022-09-19 14:21:30 +02:00
export XDG_CACHE_HOME=$HOME/.cache
export XDG_CONFIG_HOME=$HOME/.config
export XDG_DATA_HOME=$HOME/.data
2022-09-19 14:21:30 +02:00
export BROWSER=firefox
export EDITOR=vim
export PAGER=less
export VISUAL=vim
2022-07-12 11:26:19 +02:00
for x in \
"$HOME/bin" \
"$HOME/.local/bin" \
2022-09-19 14:21:30 +02:00
"/usr/local/sbin" \
"/usr/local/bin" \
"/usr/sbin" \
"/usr/bin" \
"/sbin" \
"/bin" \
2022-07-12 11:26:19 +02:00
; do
[ -d "$x" ] || continue
case ":${PATH}:" in
2022-09-19 14:21:30 +02:00
*":${x}:"*) ;;
*) PATH="${PATH:+$PATH:}${x}" ;;
2022-07-12 11:26:19 +02:00
esac
done