Loading pkgs/applications/misc/cheat/default.nix +15 −0 Original line number Diff line number Diff line Loading @@ -16,6 +16,21 @@ buildGoModule rec { nativeBuildInputs = [ installShellFiles ]; patches = [ (builtins.toFile "fix-zsh-completion.patch" '' diff --git a/scripts/cheat.zsh b/scripts/cheat.zsh index befe1b2..675c9f8 100755 --- a/scripts/cheat.zsh +++ b/scripts/cheat.zsh @@ -62,4 +62,4 @@ _cheat() { esac } -compdef _cheat cheat +_cheat "$@" '') ]; postInstall = '' installManPage doc/cheat.1 installShellCompletion scripts/cheat.{bash,fish,zsh} Loading Loading
pkgs/applications/misc/cheat/default.nix +15 −0 Original line number Diff line number Diff line Loading @@ -16,6 +16,21 @@ buildGoModule rec { nativeBuildInputs = [ installShellFiles ]; patches = [ (builtins.toFile "fix-zsh-completion.patch" '' diff --git a/scripts/cheat.zsh b/scripts/cheat.zsh index befe1b2..675c9f8 100755 --- a/scripts/cheat.zsh +++ b/scripts/cheat.zsh @@ -62,4 +62,4 @@ _cheat() { esac } -compdef _cheat cheat +_cheat "$@" '') ]; postInstall = '' installManPage doc/cheat.1 installShellCompletion scripts/cheat.{bash,fish,zsh} Loading