Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the invalid expr syntax in the m command. #17

Open
duck57 opened this issue May 7, 2022 · 1 comment
Open

Fix the invalid expr syntax in the m command. #17

duck57 opened this issue May 7, 2022 · 1 comment

Comments

@duck57
Copy link

duck57 commented May 7, 2022

This patch would also fix the corresponding line in budspencer.

In ~/.config/fish/function/fish_prompt.fish line 301 or thereabout, there is a line

set input_length (expr length (expr $num_items - 1))

In more recent versions of fish, this causes an error that then affects the following line. It can be changed to

set input_length (string length (expr $num_items - 1))

as a fix.

However, this still does not have the behavior of clearing the marked items after the directory selection is made.

@duck57
Copy link
Author

duck57 commented May 7, 2022

FYI, I think there was some update to fish itself that broke this. The same file works just fine under 3.1.2; it was fish 3.4.1 that was giving me trouble.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant