From a9c3035bd12e27a0e476f0dfb9350f5ed260cde9 Mon Sep 17 00:00:00 2001 From: Izorkin Date: Wed, 2 Jan 2019 17:29:56 +0300 Subject: [PATCH] zsh-command-time: enable work with options customPkgs --- pkgs/shells/zsh/zsh-command-time/default.nix | 5 +++-- 1 file 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; {