rabite0 / hunter

The fastest file manager in the galaxy!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to use filename substitutions in scripts?

jarbus opened this issue · comments

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?

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