Commit c8687ee83f67
Changed files (1)
modules
profiles
modules/profiles/zsh.nix
@@ -17,9 +17,18 @@ in
config = mkIf cfg.enable {
programs.zsh = {
enable = true;
+ autocd = true;
+ defaultKeymap = "emacs";
+ enableAutosuggestions = true;
+ history = {
+ expireDuplicatesFirst = true;
+ ignoreDups = true;
+ };
shellAliases = import ./aliases.shell.nix;
initExtra = ''
if [ -e /home/vincent/.nix-profile/etc/profile.d/nix.sh ]; then . /home/vincent/.nix-profile/etc/profile.d/nix.sh; fi
+ autoload -U select-word-style
+ select-word-style bash
'';
profileExtra = ''
if [ -e /home/vincent/.nix-profile/etc/profile.d/nix.sh ]; then . /home/vincent/.nix-profile/etc/profile.d/nix.sh; fi