aboutsummaryrefslogtreecommitdiff
path: root/pkgs/shells/zsh/zsh-command-time
diff options
context:
space:
mode:
authorIzorkin <izorkin@elven.pw>2019-01-02 17:29:56 +0300
committerIzorkin <izorkin@elven.pw>2019-01-02 18:37:38 +0300
commita9c3035bd12e27a0e476f0dfb9350f5ed260cde9 (patch)
tree3cc5abc7b8bbdf4c1104d28451f9824240ae09c9 /pkgs/shells/zsh/zsh-command-time
parentd2499b137fc75540467280b232896a485bea453a (diff)
zsh-command-time: enable work with options customPkgs
Diffstat (limited to 'pkgs/shells/zsh/zsh-command-time')
-rw-r--r--pkgs/shells/zsh/zsh-command-time/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/shells/zsh/zsh-command-time/default.nix b/pkgs/shells/zsh/zsh-command-time/default.nix
index c82b455200a9..c81c1ea46c5f 100644
--- a/pkgs/shells/zsh/zsh-command-time/default.nix
+++ b/pkgs/shells/zsh/zsh-command-time/default.nix
@@ -2,7 +2,8 @@
# To make use of this plugin, need to add
# programs.zsh.interactiveShellInit = ''
-# source ${pkgs.zsh-command-time}/share/zsh-command-time/command-time.plugin.zsh
+# source ${pkgs.zsh-command-time}/share/zsh/plugins/command-time/command-time.plugin.zsh
+# ZSH_COMMAND_TIME_COLOR="yellow"
# ZSH_COMMAND_TIME_MIN_SECONDS=3
# ZSH_COMMAND_TIME_ECHO=1
# '';
@@ -21,7 +22,7 @@ stdenv.mkDerivation rec {
phases = [ "installPhase" ];
installPhase = ''
- install -Dm444 $src/command-time.plugin.zsh --target-directory=$out/share/zsh-command-time
+ install -Dm0444 $src/command-time.plugin.zsh --target-directory=$out/share/zsh/plugins/command-time
'';
meta = with stdenv.lib; {