modules/programs/bash: clean-up variables used in initialization of bash-completion

This commit is contained in:
Peter Simons 2012-10-16 18:41:20 +02:00
parent 4ca0617f4a
commit c7fb0defe6

View File

@ -17,11 +17,11 @@ let
shopt -s nullglob shopt -s nullglob
for p in $NIX_PROFILES /run/current-system/sw; do for p in $NIX_PROFILES /run/current-system/sw; do
for m in "$p/etc/bash_completion.d/"*; do for m in "$p/etc/bash_completion.d/"*; do
echo enable bash completion module $m
. $m . $m
done done
done done
eval "$nullglobStatus" eval "$nullglobStatus"
unset nullglobStatus p m
fi fi
''; '';