From 8d22fcabcc9e5a6c1ca15a51def7059060ececad Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Sat, 26 Sep 2020 11:51:36 +0200 Subject: Add vi in zsh --- programs/zsh/default.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'programs/zsh/default.nix') diff --git a/programs/zsh/default.nix b/programs/zsh/default.nix index 0e19da1..a593fed 100644 --- a/programs/zsh/default.nix +++ b/programs/zsh/default.nix @@ -4,7 +4,8 @@ let isDarwin = builtins.currentSystem == "x86_64-darwin"; platformAliases = if isDarwin then ../../platforms/darwin/aliases.nix - else ../../platforms/linux/aliases.nix + else ../../platforms/linux/aliases.nix; +in { programs.zsh = { enable = true; @@ -20,9 +21,7 @@ let shellAliases = import ../aliases.nix // import platformAliases; defaultKeymap = "viins"; initExtraBeforeCompInit = builtins.readFile ./precomp.zshrc; - initExtra = '' - _comp_options+=(globdots) - ''; + initExtra = builtins.readFile ./postcomp.zshrc; sessionVariables = rec { PROMPT="%B%{$fg[red]%}[%{$fg[yellow]%}%n%{$fg[green]%}@%{$fg[blue]%}%M %{$fg[magenta]%}%~%{$fg[red]%}]%{$reset_color%}$%b "; -- cgit 1.4.1