aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc
diff options
context:
space:
mode:
Diffstat (limited to 'bash/bashrc')
-rw-r--r--bash/bashrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/bash/bashrc b/bash/bashrc
index fae8d641..02cbba46 100644
--- a/bash/bashrc
+++ b/bash/bashrc
@@ -81,6 +81,12 @@ if ((10#${BASH_VERSINFO[0]%%[![:digit:]]*} >= 4)) ; then
((10#${BASH_VERSINFO[1]%%[![:digit:]]*} >= 1)) ; then
shopt -s checkjobs
fi
+
+ # Expand variables in directory completion
+ if ((10#${BASH_VERSINFO[0]%%[![:digit:]]*} > 4)) || \
+ ((10#${BASH_VERSINFO[1]%%[![:digit:]]*} >= 3)) ; then
+ shopt -s direxpand
+ fi
fi
# Load any supplementary scripts