defining a function in a shell script doesn't work.
-
David Jones
oh, silly thing has mangled the line wrapping, but you know.
-
David Jones
It's the secondary prompt thing. Adding a match for it in PROMPT_REGEX and setting PS2 (to guard against crazy people like me who might actually set PS2 to something different) fixes the problem. Occurs to me that this probably fixes all sort of problems with shell scripts that have statements that continue onto more than one line (for example, a quoted string spread over 2 lines, or a pipeline where the rest of the pipe is on the next line, multiline for loops, etc, etc).
https://github.com/drj11/dexy/commit/a29751463b36c36b368a51b7433440...
-
Ana Nelson
- State changed from new to open
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
