modules/programs/bash: '/run/current-system/sw' is already a part of $NIX_PROFILES

This commit is contained in:
Peter Simons 2012-10-16 19:07:19 +02:00
parent 04a8642b4b
commit 56f90da276

View File

@ -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