mirror of
https://github.com/nix-community/home-manager
synced 2024-11-27 05:29:46 +01:00
starship: use [[
in bash init
This commit is contained in:
parent
a5999a62cd
commit
3d546e0d01
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.bash.initExtra = mkIf cfg.enableBashIntegration ''
|
programs.bash.initExtra = mkIf cfg.enableBashIntegration ''
|
||||||
if [ -z "$INSIDE_EMACS" ]; then
|
if [[ -z $INSIDE_EMACS ]]; then
|
||||||
eval "$(${pkgs.starship}/bin/starship init bash)"
|
eval "$(${pkgs.starship}/bin/starship init bash)"
|
||||||
fi
|
fi
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue