shell: set a default fish prompt if tide is not installed
1 file changed, 5 insertions(+), 0 deletions(-)
changed files
M system/settings/programs/shell.nix → system/settings/programs/shell.nix
@@ -12,6 +12,11 @@ useBabelfish = true; interactiveShellInit = '' set --global fish_greeting "" ''; + promptInit = '' + if ! functions --query tide + fish_config prompt choose astronaut + end + ''; }; users = lib.optionalAttrs pkgs.stdenv.isLinux { defaultUserShell = config.programs.fish.package;