From 29d655c394a39d95f93a501bc39eb33d2764b200 Mon Sep 17 00:00:00 2001 From: GaspardCulis Date: Mon, 3 Jun 2024 20:59:43 +0200 Subject: [PATCH] bash -> bashrc: Define XDG_CONFIG_HOME if not already present --- shell/bash/.bashrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/shell/bash/.bashrc b/shell/bash/.bashrc index 5842e2f..9a2c165 100755 --- a/shell/bash/.bashrc +++ b/shell/bash/.bashrc @@ -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'