2022-07-12 11:26:19 +02:00
|
|
|
: ${XDG_CACHE_HOME:=$HOME/.cache}
|
|
|
|
: ${XDG_CONFIG_HOME:=$HOME/.config}
|
|
|
|
: ${XDG_DATA_HOME:=$HOME/.data}
|
|
|
|
: ${XDG_RUNTIME_DIR:=/run/user/$(id -u)}
|
|
|
|
export XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR
|
|
|
|
|
2022-07-14 10:21:32 +02:00
|
|
|
# : ${DBUS_SESSION_BUS_ADDRESS:=$XDG_RUNTIME_DIR/bus}
|
|
|
|
# export DBUS_SESSION_BUS_ADDRESS
|
|
|
|
|
2022-07-12 11:26:19 +02:00
|
|
|
: ${BROWSER:=firefox}
|
|
|
|
: ${EDITOR:=vim}
|
|
|
|
: ${PAGER:=less}
|
|
|
|
: ${VISUAL:=vim}
|
|
|
|
export BROWSER EDITOR PAGER VISUAL
|
|
|
|
|
|
|
|
for x in \
|
2022-07-14 10:21:32 +02:00
|
|
|
"/usr/bin" \
|
|
|
|
"/usr/local/bin" \
|
2022-07-12 11:26:19 +02:00
|
|
|
"$HOME/bin" \
|
|
|
|
"$HOME/.local/bin" \
|
|
|
|
; do
|
|
|
|
[ -d "$x" ] || continue
|
|
|
|
case ":${PATH}:" in
|
|
|
|
*":${x}:"*) ;;
|
|
|
|
*) PATH="${PATH+${PATH}:}${x}" ;;
|
|
|
|
esac
|
|
|
|
done
|
|
|
|
|