Merge pull request #53201 from Izorkin/zsh-command-time
zsh-command-time: enable work with options customPkgs
This commit is contained in:
commit
1a7d28e31f
@ -2,7 +2,8 @@
|
|||||||
|
|
||||||
# To make use of this plugin, need to add
|
# To make use of this plugin, need to add
|
||||||
# programs.zsh.interactiveShellInit = ''
|
# 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_MIN_SECONDS=3
|
||||||
# ZSH_COMMAND_TIME_ECHO=1
|
# ZSH_COMMAND_TIME_ECHO=1
|
||||||
# '';
|
# '';
|
||||||
@ -21,7 +22,7 @@ stdenv.mkDerivation rec {
|
|||||||
phases = [ "installPhase" ];
|
phases = [ "installPhase" ];
|
||||||
|
|
||||||
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; {
|
meta = with stdenv.lib; {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user