mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 04:05:40 +03:00
modules/programs/bash: clean-up variables used in initialization of bash-completion
This commit is contained in:
parent
4ca0617f4a
commit
c7fb0defe6
1 changed files with 1 additions and 1 deletions
|
@ -17,11 +17,11 @@ let
|
|||
shopt -s nullglob
|
||||
for p in $NIX_PROFILES /run/current-system/sw; do
|
||||
for m in "$p/etc/bash_completion.d/"*; do
|
||||
echo enable bash completion module $m
|
||||
. $m
|
||||
done
|
||||
done
|
||||
eval "$nullglobStatus"
|
||||
unset nullglobStatus p m
|
||||
fi
|
||||
'';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue