You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Take the following command (where there is a space after \, making it escaped)
echo\
The command will execute properly. However, when pressing up to re-use the previous command, the trailing space is removed. While removing trailing spaces is usually a good idea, I don't think this should be the case when the last space is escaped.
As this seems like a pretty simple fix, I'd be happy to try my hand at fixing -- assuming this is indeed a bug and someone doesn't beat me to it!
System Info
Fish version: 3.1.2
OS: Arch Linux
Present when customizations are disabled
The text was updated successfully, but these errors were encountered:
@Shizcow yeah seems like it should be a straightforward fix, if you know a little C++. krobelus showed the source location, you could enhance that to only trim spaces that have zero preceding \ (or have an even number).
Problem and Reproduction
Take the following command (where there is a space after
\
, making it escaped)The command will execute properly. However, when pressing up to re-use the previous command, the trailing space is removed. While removing trailing spaces is usually a good idea, I don't think this should be the case when the last space is escaped.
As this seems like a pretty simple fix, I'd be happy to try my hand at fixing -- assuming this is indeed a bug and someone doesn't beat me to it!
System Info
Fish version:
3.1.2
OS: Arch Linux
Present when customizations are disabled
The text was updated successfully, but these errors were encountered: