diff options
author | Vincent Haupert <mail@vincent-haupert.de> | 2021-02-21 19:09:19 +0100 |
---|---|---|
committer | Cole Helbling <cole.e.helbling@outlook.com> | 2021-03-06 16:26:22 -0800 |
commit | b012891437994a9babcaf98ddf7ffa656cdcfaa9 (patch) | |
tree | 1fb214fb7170216c69767c3adc4d0f9e64ae6114 /nixos | |
parent | 62f9a381a030e188b826bcffeabc3653117bb4b9 (diff) |
nixos/fish: adapt completions patch to fish 3.2.0
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/programs/fish_completion-generator.patch | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/nixos/modules/programs/fish_completion-generator.patch b/nixos/modules/programs/fish_completion-generator.patch index 997f38c5066d..fa207e484c99 100644 --- a/nixos/modules/programs/fish_completion-generator.patch +++ b/nixos/modules/programs/fish_completion-generator.patch @@ -1,13 +1,14 @@ --- a/create_manpage_completions.py +++ b/create_manpage_completions.py -@@ -844,10 +844,6 @@ def parse_manpage_at_path(manpage_path, output_directory): +@@ -879,10 +879,6 @@ def parse_manpage_at_path(manpage_path, output_directory): + ) + return False - built_command_output.insert(0, "# " + CMDNAME) +- # Output the magic word Autogenerated so we can tell if we can overwrite this +- built_command_output.insert( +- 0, "# " + CMDNAME + "\n# Autogenerated from man page " + manpage_path +- ) + # built_command_output.insert(2, "# using " + parser.__class__.__name__) # XXX MISATTRIBUTES THE CULPABLE PARSER! Was really using Type2 but reporting TypeDeroffManParser -- # Output the magic word Autogenerated so we can tell if we can overwrite this -- built_command_output.insert( -- 1, "# Autogenerated from man page " + manpage_path -- ) - # built_command_output.insert(2, "# using " + parser.__class__.__name__) # XXX MISATTRIBUTES THE CULPABILE PARSER! Was really using Type2 but reporting TypeDeroffManParser - - for line in built_command_output: + for line in built_command_output: + |