mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-12 01:59:37 +08:00
starship: use [[ in bash init
This commit is contained in:
@@ -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
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user