-
Notifications
You must be signed in to change notification settings - Fork 2
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
Does not work #4
Comments
👋🏻 Thank you for reporting this! Please, post the output of these commands so we can find out what's going on: fish --version
functions --handlers | grep sponge
set --show | grep sponge If you can share the list of the plugins you have installed, that also might help to diagnose the issue. |
The other plugins installed are:
|
Interesting... it seems Sponge event handlers are not attached. Please, post the output of these commands 🙏🏻. Firstly, check if the functions indeed are available: functions --all | grep sponge After that try attaching them manually: functions --query _sponge_on_prompt _sponge_on_preexec _sponge_on_postexec _sponge_on_exit Finally, check if they've been successfully attached: functions --handlers | grep sponge |
If
|
I have the same issue. Here's my output: functions --query _sponge_on_prompt _sponge_on_preexec _sponge_on_postexec _sponge_on_exit functions --handlers | grep sponge |
I got the following error block after installing 1.1.0 on every new tab. ``` contains: Key not specified test: Unexpected argument type at index 1 = true -a true = true ^ ~/.config/fish/functions/sponge_filter_failed.fish (line 4): if test $previously_in_history = true -a $sponge_allow_previously_successful = true ^ in function 'sponge_filter_failed' with arguments '0 ""' called on line 14 of file ~/.config/fish/functions/_sponge_on_postexec.fish in function '_sponge_on_postexec' called on line 1 of file ~/.config/fish/config.fish in event handler: handler for generic event “fish_postexec” called on line 378 of file ~/.config/fish/config.fish ``` This fixes both issues. Everything else *appears* to work. This may address meaningful-ooo#4.
Title.
I install Sponge, I type wrong commands, and they all stay in history.
However, all of its related functions (like
_sponge_on_prompt
,_sponge_remove_from_history
orsponge_filter_failed
) are visible to Fish.In fact, I can make Sponge work by manually executing
_sponge_install
and_sponge_on_prompt
.I tried clearing the Fish configuration from
~/.config
, but it changed nothing.Though I have to note that I didn't install Sponge the "traditional" way (i.e. via Fisher), but via Nix. However, I installed all the other extensions the same way, and they work fine.
The text was updated successfully, but these errors were encountered: