taskwarrior: install zsh completion (#40454)

authored by Johannes Frankenau and committed by xeji d71cde31 4c7d07c8

+4 -4
+4 -4
pkgs/applications/misc/taskwarrior/default.nix
··· 4 name = "taskwarrior-${version}"; 5 version = "2.5.1"; 6 7 - enableParallelBuilding = true; 8 - 9 src = fetchurl { 10 - url = "http://www.taskwarrior.org/download/task-${version}.tar.gz"; 11 sha256 = "059a9yc58wcicc6xxsjh1ph7k2yrag0spsahp1wqmsq6h7jwwyyq"; 12 }; 13 ··· 20 ln -s "../../doc/task/scripts/bash/task.sh" "$out/share/bash-completion/completions/task.bash" 21 mkdir -p "$out/share/fish/vendor_completions.d" 22 ln -s "../../../share/doc/task/scripts/fish/task.fish" "$out/share/fish/vendor_completions.d/" 23 ''; 24 25 meta = with stdenv.lib; { 26 description = "Highly flexible command-line tool to manage TODO lists"; 27 - homepage = http://taskwarrior.org; 28 license = licenses.mit; 29 maintainers = with maintainers; [ marcweber jgeerds ]; 30 platforms = platforms.linux ++ platforms.darwin;
··· 4 name = "taskwarrior-${version}"; 5 version = "2.5.1"; 6 7 src = fetchurl { 8 + url = "https://taskwarrior.org/download/task-${version}.tar.gz"; 9 sha256 = "059a9yc58wcicc6xxsjh1ph7k2yrag0spsahp1wqmsq6h7jwwyyq"; 10 }; 11 ··· 18 ln -s "../../doc/task/scripts/bash/task.sh" "$out/share/bash-completion/completions/task.bash" 19 mkdir -p "$out/share/fish/vendor_completions.d" 20 ln -s "../../../share/doc/task/scripts/fish/task.fish" "$out/share/fish/vendor_completions.d/" 21 + mkdir -p "$out/share/zsh/site-functions" 22 + ln -s "../../../share/doc/task/scripts/zsh/_task" "$out/share/zsh/site-functions/" 23 ''; 24 25 meta = with stdenv.lib; { 26 description = "Highly flexible command-line tool to manage TODO lists"; 27 + homepage = https://taskwarrior.org; 28 license = licenses.mit; 29 maintainers = with maintainers; [ marcweber jgeerds ]; 30 platforms = platforms.linux ++ platforms.darwin;