-
Hey, Not sure if this is a bug of zsh-autosuggestions or feroxbuster or maybe i just miss some configuration. I am using "oh my zsh", some time ago i installed the zsh-autosuggestions plugin. I thought everything works fine but then i noticed that the default tab auto completion with feroxbuster stopped working. I am not 100% sure this is related to the zsh-autosuggestions plugin but i am sure before i activated this, the tab auto completion works fine. But when i deactivate this plugin and restart the shell the default tab auto completion still does not work. Example, if i type
and then TAB, i should be able to auto complete the path with /usr/share/wordlist .. etc. but nothing happens. in other tools like ffuf this works (also with zsh-autosuggestions) I read in the readme, that on the installation of feroxbuster via APT there happens some stuff to provide autocompletion, maybe this is now lost? How can i check or repair this? Site question: I am using feroxbuster 2.3.3, there should be the 2.4 but apt update & apt upgrade doesent provide me the version 2.4, is this because the push to the repos need more time and i just have to wait to get the latest version via APT? Thanks for any hints or support :) BR, |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Unfortunately, I don't use zsh, so don't really have a good strategy for debugging conflicts like that (if there is one). The feroxbuster completions for zsh live at I'm not sure when you tried to update, but I got notified at 5am this morning that the kali repos were updated to include 2.4.0. The repos lag behind github releases by a few days, but even that turn around time is spectacular, imo. |
Beta Was this translation helpful? Give feedback.
-
Thanks for your reply! first answer to your questions:
ok.. after lots of investigation i can break it down to compinit and the cache file(s) As far as i understand compinit tries to parse and validate all parameters of a tool. This is not feroxbuster related as it is valid for every other tool which is listed in any of the zcomdump files. Simple sanity check with md5sum in the default bash (there is no compinit), the tab autocomplete on path is working without any problems md5sum -b /usr/share... in zsh and oh my zsh, this is not working md5sum /b /usr/share... is its working also in zsh further more:
the directory auto completion works again with further 2: if i delete the line
in all of this dump files, the tab auto completion works again for md5sum. Of course, then the parameter suggestion is not working anymore. as feroxbuster is too in these dump files this is why it is also not working in feroxbuster .. so far no it would be great if anybody know how i can configure compinit and oh my zsh that it behaves like the default bash auto completion. because the default bash can both: but as this is not feroxbuster related, i think i have to ask in some zsh related section.. BR, |
Beta Was this translation helpful? Give feedback.
-
i have some news: the thing about the md5sum tool was a recent issue 🙄 and is fixed in the next release. i took a look what they changed to fix the md5sum problem: zsh-users/zsh@c843af6 playing a little bit with the changing this if is-at-least 5.2; then
_arguments_options=(-s -S -C )
else
_arguments_options=(-s -C)
fi to this if is-at-least 5.2; then
_arguments_options=(-s -S -C '*: :_files')
else
_arguments_options=(-s -C '*: :_files')
fi i can make a pull request if you want but i am not familiar with this script and syntax (it was more try and error to figure that out) so i dont know if this is ok or break something else 😅 @epi052 just let me know |
Beta Was this translation helpful? Give feedback.
i have some news:
the thing about the md5sum tool was a recent issue 🙄 and is fixed in the next release. i took a look what they changed to fix the md5sum problem: zsh-users/zsh@c843af6
playing a little bit with the
_feroxbuster
script i figured out that this little change will fix the problem for me:changing this
to this
i can make a pull request if you want but i am not familiar with this script and syntax (it was more try and er…