all repos — nixfiles @ 644a368c03c92e3a8dd451855bef0465b04619e6

System and user configuration, managed by nix and home-manager

zsh: import zplugin to home-manager

Alan Pearce
commit

644a368c03c92e3a8dd451855bef0465b04619e6

parent

af91a31eb5ccb46e605aa9b6cf1e792590409ef6

3 files changed, 11 insertions(+), 9 deletions(-)

jump to
M user/modules/zsh.nixuser/modules/zsh.nix
@@ -17,6 +17,17 @@ recursive = true;
source = ../zsh/.config/zsh; }; + home.file.".zplugin/bin" = { + recursive = true; + source = pkgs.fetchFromGitHub { + owner = "zdharma"; + repo = "zplugin"; + rev = "028b1e1d6d3eae204b499c7f815f4eeeb5051517"; + sha256 = "1ynh323905iia3gwi9qghbywp94x306nna1yqk37frj5g7kg90fa"; + }; + onChange = "${pkgs.zsh}/bin/zsh -c 'zcompile $HOME/.zplugin/bin/zplugin.zsh'"; + }; + programs.zsh = { enable = true;
D user/zsh/.config/zsh/setup.sh
@@ -1,9 +0,0 @@
-#!/usr/bin/env zsh - -mkdir $HOME/.zplugin -git clone https://github.com/psprint/zplugin.git $HOME/.zplugin/bin - -zcompile $HOME/.zplugin/bin/zplugin.zsh - -mkdir -p $HOME/.cache/zsh/ -
D user/zsh/.rm_recycle_home

Not showing binary file.