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
Here, the second line selected is not used as an argument of test -z because of the \n.
It does something like this
Solution
I don't know fish enough. In the idea, it should be something like if test -z "$(commandline --current-selection)".
I don't know if other functions are affected by this.
The text was updated successfully, but these errors were encountered:
Fish version: 3.7.0
Natural Selection version: latest commit (2023-11-27)
Selecting multiple lines tries to execute the lines and gives an error.
How to reproduce
After selecting 2 chars or more on the left:
Source
natural-selection/functions/_natural_selection.fish
Line 46 in ecd61ac
Here, the second line selected is not used as an argument of
test -z
because of the \n.It does something like this
Solution
I don't know fish enough. In the idea, it should be something like
if test -z "$(commandline --current-selection)"
.I don't know if other functions are affected by this.
The text was updated successfully, but these errors were encountered: