diff --git a/hosts/home/home_common.nix b/hosts/home/home_common.nix index 77f9f1e..e13b2e3 100644 --- a/hosts/home/home_common.nix +++ b/hosts/home/home_common.nix @@ -17,40 +17,24 @@ }; tmux.enable = true; starship.enable = true; - nushell = { + zsh = { enable = true; - shellAliases = { - cat = "bat"; - }; - extraConfig = '' - $env.config = { - show_banner: false, + autosuggestion.enable = true; + enableCompletion = true; + syntaxHighlighting.enable = true; + autocd = true; + plugins = [ + { + name = "zsh-nix-shell"; + file = "nix-shell.plugin.zsh"; + src = pkgs.fetchFromGitHub { + owner = "chisui"; + repo = "zsh-nix-shell"; + rev = "v0.8.0"; + sha256 = "1lzrn0n4fxfcgg65v0qhnj7wnybybqzs4adz7xsrkgmcsr0ii8b7"; + }; } - ''; + ]; }; - carapace = { - enable = true; - enableNushellIntegration = true; - }; - bat.enable = true; - # zsh = { - # enable = true; - # autosuggestion.enable = true; - # enableCompletion = true; - # syntaxHighlighting.enable = true; - # autocd = true; - # plugins = [ - # { - # name = "zsh-nix-shell"; - # file = "nix-shell.plugin.zsh"; - # src = pkgs.fetchFromGitHub { - # owner = "chisui"; - # repo = "zsh-nix-shell"; - # rev = "v0.8.0"; - # sha256 = "1lzrn0n4fxfcgg65v0qhnj7wnybybqzs4adz7xsrkgmcsr0ii8b7"; - # }; - # } - # ]; - # }; }; }