fish-shell/share
Xiretza 0b1aa0b12e completions: make: respect line continuations in recipes
Without this, a recipe containing a trailing backslash followed by a line not
beginning with tab (like any non-continued recipe lines would) would result in
the continuation showing up in completions.

Whenever a line ends in a backslash, consider the next line invalid as a target.

Regex explanation:

^([^#]*[^#\\])? -- optional prefix not containing comment character and not
                   ending in backslash
(\\\\)*\\$      -- 2n+1 backslashes at end of line (handles escaped backslashes)

(cherry picked from commit fff320b56b)
2023-10-08 17:15:20 +02:00
..
completions completions: make: respect line continuations in recipes 2023-10-08 17:15:20 +02:00
functions print_apt_packages: Go back to apt-cache for non-installed packages 2023-10-06 18:49:46 +02:00
groff workaround broken groff man page config 2016-10-19 13:43:04 -07:00
tools sample_prompts/scales: Silence one last git call 2023-10-06 18:49:55 +02:00
__fish_build_paths.fish.in Rename "snippets" to "conf" internally, and document them as snippets 2016-04-06 09:33:09 +08:00
config.fish share/config: Erase on_interactive before doing __fish_config_interactive 2023-02-27 22:40:58 +08:00