-
Notifications
You must be signed in to change notification settings - Fork 19
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
Replace external tools with fish builtins #23
base: master
Are you sure you want to change the base?
Conversation
Fix issue fishgretel#22 Fix issue fishgretel#21 Replace use of external tools (grep and perl) with fish builtin string.
If the 'exit' command was part of the command line, then fish would give a warning and not exit due to how the fasd command was running in the background. Adding a disown after it will stop it from throwing this error. Fix small issue with printf formatting in __fasd_expand_vars
The second commit will fix the annoying warning if |
Would be nice to merge it. Currently, on macos, if you don't have the gnu coreutils as the default the plugin fails with:
The reason is that |
Can we proceed with this PR? I find the |
This is based from this PR: fishgretel/fasd#23
Latest fishgretel/fasd version introduces a dependency on GNU grep because FreeBSD doesn't support the -P flag. This change replaces fishgretel repo by abysmalbiscuit due it seems fishgretel/fasd has been inactive for a long time Link to the specific PR: fishgretel/fasd#23
for a temporary solution, alias will fix it |
This PR replaces the use of external tools (
grep
andperl
) with fish builtinstring
command.This should fix both issues #21 and #22.