plugin-pj icon indicating copy to clipboard operation
plugin-pj copied to clipboard

Error Message

Open worldpe opened this issue 4 years ago • 1 comments

I am really sorry if this is an issue on my end, but when I try to use the pj command, I get the error message: `pj Templates error: Found argument '-m' which wasn't expected, or isn't valid in this context

USAGE: fd [FLAGS/OPTIONS] [] [...]

For more information try --help No such project: Templates`

I wouldn't expect this program to use fd instead of find, however I am not sure where the -m argument is. Is that something in the pj program?

worldpe avatar Aug 15 '21 04:08 worldpe

Hey! 👋

I'd say that the -m part of the error message regards to -maxdepth argument for find:

https://github.com/oh-my-fish/plugin-pj/blob/df01d009e1d9ad03c8097edbeebcc519de1d6581/functions/pj.fish#L32

Could you please share what OS you're experiencing this on? Also, what output do you get for which find?

scorphus avatar Aug 15 '21 20:08 scorphus