Macro: pass all arguments
rsteube opened this issue · 0 comments
rsteube commented
Request
Pass all positional arguments to shell macro so that they can be accessed with $@
, $1
...
Proposed solution
esh ❯ bash -c "echo one" -- two three
one
carapace-spec on master [!] via 🐹 v1.22.0
esh ❯ bash -c "echo one $1" -- two three
one two
carapace-spec on master [!] via 🐹 v1.22.0
esh ❯ bash -c "echo one $@" -- two three
one two three
Anything else?
Optionally passing flags possible as well? (raw mode)
related #270