diff options
Diffstat (limited to 'nix')
| -rw-r--r-- | nix/users/fcuny/shell.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/nix/users/fcuny/shell.nix b/nix/users/fcuny/shell.nix index 9bae765..36b4267 100644 --- a/nix/users/fcuny/shell.nix +++ b/nix/users/fcuny/shell.nix @@ -52,6 +52,32 @@ in }; }; + # https://github.com/nix-community/home-manager/blob/master/modules/programs/starship.nix + programs.starship = { + enable = true; + enableFishIntegration = true; + enableBashIntegration = true; + enableZshIntegration = false; + settings = { + add_newline = false; + character = { + success_symbol = "[λ](bold green)"; + error_symbol = "[λ](bold red)"; + }; + username = { + show_always = true; + }; + hostname = { + ssh_only = true; + }; + directory = { + truncation_length = 1; + truncate_to_repo = false; + fish_style_pwd_dir_length = 1; + }; + }; + }; + # an alternative to ls programs.eza = { enable = true; |
