1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-26 00:18:30 +02:00

starship: use [[ in bash init

This commit is contained in:
Robert Helgesson 2019-10-01 21:56:56 +02:00
parent a5999a62cd
commit 3d546e0d01
No known key found for this signature in database
GPG Key ID: 36BDAA14C2797E89

View File

@ -71,7 +71,7 @@ in
};
programs.bash.initExtra = mkIf cfg.enableBashIntegration ''
if [ -z "$INSIDE_EMACS" ]; then
if [[ -z $INSIDE_EMACS ]]; then
eval "$(${pkgs.starship}/bin/starship init bash)"
fi
'';