diff --git a/home.nix b/home.nix index 435f00d..aa8e04f 100644 --- a/home.nix +++ b/home.nix @@ -18,10 +18,7 @@ in { hmswitch = ''home-manager switch --flake ".#$(hostname -s)"''; nrswitch = "nixos-rebuild switch --flake '.#'"; }; - prezto = { - enable = true; - prompt.theme = "giddie"; - }; + plugins = [{ name = "zsh-z"; file = "share/zsh-z/zsh-z.plugin.zsh"; @@ -29,6 +26,17 @@ in { }]; }; + starship = { + enable = true; + settings = { + add_newline = false; + format = "$username$hostname$shlvl$directory$git_branch$git_commit$git_state$git_metrics$git_status$hg_branch$docker_context$golang$kotlin$nodejs$python$rust$terraform$nix_shell$memory_usage$aws$gcloud$openstack$azure$env_var$crystal$custom$sudo$cmd_duration$line_break$jobs$status$shell$character"; + python.format = '' [py ''${pyenv_prefix}(''${version} )(\($virtualenv\) )]($style)''; + nodejs.format = '' [js ($version )]($style)''; + git_branch.format = '' [$symbol$branch]($style)''; + }; + }; + direnv = { enable = true; nix-direnv.enable = true;