diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2020-09-26 11:51:36 +0200 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2020-09-26 11:51:36 +0200 |
commit | 8d22fcabcc9e5a6c1ca15a51def7059060ececad (patch) | |
tree | 865f874c842f78668aebfd47fa95a27d7e54086a /programs/zsh/default.nix | |
parent | 97cf939f17abc850f642f668a286c85b31bf2b41 (diff) | |
download | dots-8d22fcabcc9e5a6c1ca15a51def7059060ececad.tar.gz dots-8d22fcabcc9e5a6c1ca15a51def7059060ececad.zip |
Add vi in zsh
Diffstat (limited to 'programs/zsh/default.nix')
-rw-r--r-- | programs/zsh/default.nix | 7 |
1 files changed, 3 insertions, 4 deletions
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 "; |