Silvan Mosberger
db55e596d2
zsh: refine module
...
- fix part of zsh config being built even though cfg.enable is false
- fix .zshenv sourcing when ZDOTDIR already set
and some other minor adjustments
2017-09-22 23:27:49 +02:00
Silvan Mosberger
de5f902487
zsh: add custom dotDir parameter
2017-09-16 21:30:47 +02:00
Nikita Uvarov
c7edde6ca4
zsh: add user nix-profile dir to fpath
...
Fixes zsh plugins installed to nix user profile via nixpkgs.
2017-09-12 15:39:36 +02:00
Nikita Uvarov
379e2c694b
zsh: move aliases definitions after initExtra
...
Same motivation as in https://github.com/NixOS/nixpkgs/pull/28378 .
zsh.initExtra parameter can be used by external modules which can
redefine user aliases. This change will give user-defined aliases
the highest priority.
2017-09-12 15:21:38 +02:00
Robin Stumm
29d5f5d760
zsh: fix double compinit slowdown with oh-my-zsh
...
Integrate oh-my-zsh into zsh module
to be able to control invocation order.
2017-09-12 14:52:04 +02:00
Robin Stumm
258bc85b9c
zsh: add plugins submodule
...
To pass compinit security checks,
plugins are liked into ~/zsh/plugins folder.
This also solves issues with a slow start up,
see https://github.com/rycee/home-manager/pull/56#issuecomment-328057513 .
2017-09-12 14:42:38 +02:00
Jean Potier
721f924e15
zsh: remove search for installed completions
...
1. It slows down the initial start: it takes around 2s at first launch,
and around 0.25s for the following launches;
2. It seems to be redundant since just installing zsh package gives
working completions with correct $fpath set.
2017-09-04 11:45:41 +02:00
Nikita Uvarov
1678548353
zsh: set HELPDIR
2017-08-24 13:13:35 +02:00
Nikita Uvarov
7218c45443
zsh: add completions to fpath
2017-08-24 13:13:34 +02:00
Nikita Uvarov
bd914d49f1
zsh: add history submodule
2017-08-24 13:13:34 +02:00
Nikita Uvarov
910cdc0537
zsh: use .zshenv for env vars
2017-08-21 18:00:58 +02:00
Nikita Uvarov
cde8e02bf2
zsh: add module
2017-08-16 13:58:30 +02:00