lol

nixos/fish: adapt completions patch to fish 3.2.0

authored by

Vincent Haupert and committed by helbling.dev b0128914 62f9a381

+10 -9
+10 -9
nixos/modules/programs/fish_completion-generator.patch
··· 1 1 --- a/create_manpage_completions.py 2 2 +++ b/create_manpage_completions.py 3 - @@ -844,10 +844,6 @@ def parse_manpage_at_path(manpage_path, output_directory): 3 + @@ -879,10 +879,6 @@ def parse_manpage_at_path(manpage_path, output_directory): 4 + ) 5 + return False 4 6 5 - built_command_output.insert(0, "# " + CMDNAME) 7 + - # Output the magic word Autogenerated so we can tell if we can overwrite this 8 + - built_command_output.insert( 9 + - 0, "# " + CMDNAME + "\n# Autogenerated from man page " + manpage_path 10 + - ) 11 + # built_command_output.insert(2, "# using " + parser.__class__.__name__) # XXX MISATTRIBUTES THE CULPABLE PARSER! Was really using Type2 but reporting TypeDeroffManParser 6 12 7 - - # Output the magic word Autogenerated so we can tell if we can overwrite this 8 - - built_command_output.insert( 9 - - 1, "# Autogenerated from man page " + manpage_path 10 - - ) 11 - # built_command_output.insert(2, "# using " + parser.__class__.__name__) # XXX MISATTRIBUTES THE CULPABILE PARSER! Was really using Type2 but reporting TypeDeroffManParser 12 - 13 - for line in built_command_output: 13 + for line in built_command_output: 14 +