modules/programs/bash: '/run/current-system/sw' is already a part of $NIX_PROFILES
This commit is contained in:
parent
04a8642b4b
commit
56f90da276
@ -15,7 +15,7 @@ let
|
|||||||
. "${pkgs.bashCompletion}/etc/profile.d/bash_completion.sh"
|
. "${pkgs.bashCompletion}/etc/profile.d/bash_completion.sh"
|
||||||
nullglobStatus=$(shopt -p nullglob)
|
nullglobStatus=$(shopt -p nullglob)
|
||||||
shopt -s nullglob
|
shopt -s nullglob
|
||||||
for p in $NIX_PROFILES /run/current-system/sw; do
|
for p in $NIX_PROFILES; do
|
||||||
for m in "$p/etc/bash_completion.d/"*; do
|
for m in "$p/etc/bash_completion.d/"*; do
|
||||||
. $m
|
. $m
|
||||||
done
|
done
|
||||||
|
Loading…
x
Reference in New Issue
Block a user