diff --git a/shell.nix b/shell.nix index 53c863c..ed81c0e 100644 --- a/shell.nix +++ b/shell.nix @@ -10,6 +10,6 @@ pkgs.mkShellNoCC { typescript-language-server ]; shellHook = '' - eval "$(starship init bash)" + which -s starship >/dev/null 2>&1 && eval "$(starship init bash)" ''; }