diff options
author | aszlig <aszlig@redmoonstudios.org> | 2014-10-29 11:27:54 +0100 |
---|---|---|
committer | aszlig <aszlig@redmoonstudios.org> | 2014-10-29 11:27:54 +0100 |
commit | 7c8280c9daa3487a617bc704b12ebdd9f73bfe57 (patch) | |
tree | 8d770f6224c696ee81e48680145f4bbd08e1e961 | |
parent | b2ccd16cefe25b68ca33cf240fca970387afb73e (diff) |
zsh: Deactivate annoying newuser install in zshrc.
At the point where zshenv is sourced, the zsh-newuser-install function is not yet available and is loaded afterwards. As the function is only running in interactive shells anyway, let's as well put it into interactiveShellInit. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
-rw-r--r-- | zsh.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zsh.nix b/zsh.nix index 4219fcc3..ad8be3c7 100644 --- a/zsh.nix +++ b/zsh.nix @@ -12,8 +12,6 @@ programs.zsh.shellAliases.t = "task"; - programs.zsh.shellInit = "zsh-newuser-install() { :; }"; - programs.zsh.interactiveShellInit = lib.mkAfter '' export HISTFILE=~/.histfile export HISTSIZE=100000 @@ -73,6 +71,8 @@ compinit autoload -Uz zmv + + zsh-newuser-install() { :; } ''; programs.zsh.promptInit = '' |