Package Details: find-the-command 1.4.2-1

Git Clone URL: (read-only, click to copy)
Package Base: find-the-command
Description: Advanced command-not-found hook for bash and zsh using the power of pacman
Upstream URL:
Keywords: bash command-not-found zsh
Licenses: custom:WTFPL
Submitter: lexter
Maintainer: lexter
Last Packager: lexter
Votes: 32
Popularity: 0.79
First Submitted: 2016-05-14 21:43
Last Updated: 2020-02-19 19:46

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

lexter commented on 2019-12-30 08:55

Hello @j1simon, I guess installing that stuff to docs was a bad idea in the first place (I just copied paths from pkgfile) and now it's too late to change that. Thanks for reporting the issue, will add docs option explicitly in the next pkg release. This PKGBUILD kinda needs some refactoring.

j1simon commented on 2019-12-27 14:41

The PKGBUILD lacks this: options=(docs)
This package installs necessary files in the documentation directory (to my knowledge this should not be the case) but in the general makepkg options it may be specified to remove the documentation (as is my case).

lexter commented on 2016-07-04 22:05

So new version is available with all changes described in previous comment.

lexter commented on 2016-06-29 22:56

Thank you for feedback, sowieso.

If I'm not mistaken, makepkg ignores files in the root of base directory. If I'm wrong, I'll edit PKBUILD to remove them explicitly. LICENSE will be moved to its place anyway.

- Okay, I'll add variant for su users on my spare time. I have an idea to unify scripts and configure them via variables (e.g. setting hook to either interactive or non-interactive mode, using sudo or su) or just by changing arguments for sourcing hook (e.g "source /usr/share/doc/ftm.zsh noprompt su").
- Yeah, that's good idea.
- Okay, I'll edit it.

Thank you for ideas. BTW, feel free to send pull requests to my GitHub if you are familiar with shell scripting.

sowieso commented on 2016-06-23 12:37

Hi, the package is a bit broken. It installs .gitignore, LICENSE and into the base directory. Please remove .gitignore and but LICENSE and README into the correct places (/user/share/{licenses,doc}/$pkgname).

Few thoughts:
‣ I am not using sudo, maybe make it su compatible? At least add sudo as opt-dep
‣ check for root before asking sudo / su
‣ the name interactive is slightly misleading in the context of shells (maybe call it -with-prompt)

Anyway, nice job!