diff options
author | Michael Hoang <enzime@users.noreply.github.com> | 2021-10-28 10:08:35 +1100 |
---|---|---|
committer | Michael Hoang <enzime@users.noreply.github.com> | 2021-10-28 13:28:58 +1100 |
commit | 41c7806df50a88b723667969c3d3078bf298226f (patch) | |
tree | 86038fd9f6e8215cc9f2624d68a5afe075143fb9 /pkgs/shells/zsh/default.nix | |
parent | 8f6f42bd36ff0167d8041c1c047440627dd2d171 (diff) |
zsh: fix `git stash drop` completions
Diffstat (limited to 'pkgs/shells/zsh/default.nix')
-rw-r--r-- | pkgs/shells/zsh/default.nix | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/pkgs/shells/zsh/default.nix b/pkgs/shells/zsh/default.nix index 92eebfd954427..e0fd68f13b606 100644 --- a/pkgs/shells/zsh/default.nix +++ b/pkgs/shells/zsh/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchurl, ncurses, pcre, buildPackages }: +{ lib, stdenv, fetchurl, fetchpatch, ncurses, pcre, buildPackages }: let version = "5.8"; @@ -21,6 +21,13 @@ stdenv.mkDerivation { patches = [ # fix location of timezone data for TZ= completion ./tz_completion.patch + # This commit will be released with the next version of zsh + (fetchpatch { + name = "fix-git-stash-drop-completions.patch"; + url = "https://github.com/zsh-users/zsh/commit/754658aff38e1bdf487c58bec6174cbecd019d11.patch"; + sha256 = "sha256-ud/rLD+SqvyTzT6vwOr+MWH+LY5o5KACrU1TpmL15Lo="; + excludes = [ "ChangeLog" ]; + }) ]; buildInputs = [ ncurses pcre ]; |