diff options
author | aszlig <aszlig@redmoonstudios.org> | 2014-10-30 00:03:09 +0100 |
---|---|---|
committer | aszlig <aszlig@redmoonstudios.org> | 2014-10-30 00:03:09 +0100 |
commit | 023a10876dfc5f53b9989de47d1f8dbdd7641f36 (patch) | |
tree | 469cc67b9adc44d51449cca52c01fa0e9c1fff99 | |
parent | d5ca8a15519c4e93237c325aef0280cd75764389 (diff) |
zsh: Patch out zsh-newuser-install.
Now it's getting really annoying. Be gone! Thanks :-) Signed-off-by: aszlig <aszlig@redmoonstudios.org>
-rw-r--r-- | overrides/default.nix | 6 | ||||
-rw-r--r-- | zsh.nix | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/overrides/default.nix b/overrides/default.nix index 0d93fc1a..66ae0f5f 100644 --- a/overrides/default.nix +++ b/overrides/default.nix @@ -111,6 +111,12 @@ let ]; patchFlags = "--merge -p1"; }; + + zsh = o: { + postInstall = (o.postInstall or "") + '' + find "$out" -type f -name zsh-newuser-install -delete + ''; + }; }; # misc diff --git a/zsh.nix b/zsh.nix index ad8be3c7..5dfdcac5 100644 --- a/zsh.nix +++ b/zsh.nix @@ -71,8 +71,6 @@ compinit autoload -Uz zmv - - zsh-newuser-install() { :; } ''; programs.zsh.promptInit = '' |