Skip to content

Commit

Permalink
Add comment to PR which introduced bash-completion loading to nix-shell
Browse files Browse the repository at this point in the history
Co-authored-by: Robert Hensing <[email protected]>
  • Loading branch information
2 people authored and Profpatsch committed Jan 13, 2022
1 parent 12fb347 commit 8e9ff58
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ops/direnv/envrc.bash
Original file line number Diff line number Diff line change
Expand Up @@ -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" ":" "$@";;

Expand Down

0 comments on commit 8e9ff58

Please sign in to comment.