all repos — nixfiles @ 89e74406c82df7eebc6ef95eb51ba706074227dc

System and user configuration, managed by nix and home-manager

shell: set a default fish prompt if tide is not installed

Alin
commit

89e74406c82df7eebc6ef95eb51ba706074227dc

parent

72d6d10099eab1613c52d292d353b57a000b71e0

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;