Skip to content

Commit

Permalink
fix(bash): bash.enable doesn't actually exist ;o;
Browse files Browse the repository at this point in the history
  • Loading branch information
isabelroses committed Oct 26, 2024
1 parent 9fee971 commit 10e0bc0
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions modules/nixos/environment/paths.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ let
in
{
# if a given shell is enabled, add the corresponding completion paths
environment.pathsToLink =
optional (if (cfg.bash ? enable) then cfg.bash.enable else false) "/share/bash-completion"
++ optional cfg.zsh.enable "/share/zsh"
++ optional cfg.fish.enable "/share/fish";
environment.pathsToLink = [
"/share/bash-completion"
] ++ optional cfg.zsh.enable "/share/zsh" ++ optional cfg.fish.enable "/share/fish";
}

0 comments on commit 10e0bc0

Please sign in to comment.