bash -> bashrc: Define XDG_CONFIG_HOME if not already present

This commit is contained in:
GaspardCulis 2024-06-03 20:59:43 +02:00
parent 9014954485
commit 29d655c394
No known key found for this signature in database
GPG key ID: BC18146756955609

View file

@ -16,6 +16,8 @@ fi
[[ -z "$FUNCNEST" ]] && export FUNCNEST=100 # limits recursive functions, see 'man bash'
[[ -z "$XDG_CONFIG_HOME" ]] && export XDG_CONFIG_HOME="$HOME/.config"
## Use the up and down arrow keys for finding a command in history
## (you can write some initial letters of the command first).
bind '"\e[A":history-search-backward'