modules/programs/bash: clean-up variables used in initialization of bash-completion
This commit is contained in:
parent
4ca0617f4a
commit
c7fb0defe6
@ -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
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user