rabite0 / hunter

The fastest file manager in the galaxy!
Do What The F*ck You Want To Public License
1.32k stars 64 forks source link

How to use filename substitutions in scripts? #102

Open jarbus opened 3 years ago

jarbus commented 3 years ago

I made a new quickaction in .config/hunter/actions:

mv!.sh:

#!/bin/sh
mv $s $n

Which should work using the filename substitutions according to the README, but it doesn't seem like this is a feature. The variables in the script are never set, so the script does nothing. Is there a way to access $s and $n from a script?

sabitm commented 3 years ago

weirdly, it works with "$@" for me. but yeah, neither $n nor $ns work