diff --git a/modules/shell.nix b/modules/shell.nix index cdb72f9..660f3a5 100644 --- a/modules/shell.nix +++ b/modules/shell.nix @@ -1,13 +1,35 @@ { config, lib, pkgs, ... }: { - programs.bash = { + # programs.bash = { + # enable = true; + # shellAliases = { + # ls = "eza"; + # tree = "eza -T"; + # }; + # initExtra = '' + # export EDITOR=emacs\ -nw + # ''; + # }; + programs.zsh = { enable = true; shellAliases = { ls = "eza"; tree = "eza -T"; }; - initExtra = '' - export EDITOR=emacs\ -nw + initExtraFirst = '' + export EDITOR=emacs\ -nw + source ~/.p10k.zsh ''; + enableCompletion = true; + # autosuggestions.enable = true; + zplug = { + enable = true; + plugins = [ + { name = "zsh-users/zsh-autosuggestions"; } # Simple plugin installation + { name = "romkatv/powerlevel10k"; tags = [ as:theme depth:1 ]; } # Installations with additional options. For the list of options, please refer to Zplug README. + { name = "zdharma-continuum/fast-syntax-highlighting"; } + ]; + }; + }; }