From 8e9ff58522d50b9f32f463da0964e708a6d1f6f0 Mon Sep 17 00:00:00 2001 From: Sandro Date: Thu, 11 Nov 2021 13:02:18 +0100 Subject: [PATCH] Add comment to PR which introduced bash-completion loading to nix-shell Co-authored-by: Robert Hensing --- src/ops/direnv/envrc.bash | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ops/direnv/envrc.bash b/src/ops/direnv/envrc.bash index a976c911..215aea94 100644 --- a/src/ops/direnv/envrc.bash +++ b/src/ops/direnv/envrc.bash @@ -158,6 +158,7 @@ function declare() { # https://github.com/nix-community/lorri/issues/48 and # https://github.com/nix-community/home-manager/blob/master/modules/misc/xdg-system-dirs.nix#L16-L36 + # required for bash completions https://github.com/NixOS/nixpkgs/pull/103501 "XDG_DATA_DIRS="*) prepend "XDG_DATA_DIRS" ":" "$@";; "XDG_CONFIG_DIRS="*) prepend "XDG_CONFIG_DIRS" ":" "$@";;