I want to run an alias or function with parameters
Bee supports passing in parameters, just like normal aliases or functions in Linux would.
If, for example, you've registered a file containing the following alias:
alias connect-me='ssh $1'
When invoking bee
and tapping ENTER
, you'll see the following line in your terminal:
> bee
ssh $1
if you continue typing,
> bee
ssh $1 127.0.0.1
and then hit ENTER
a second time, to confirm the full command, Bee will actually execute
ssh 127.0.0.1
thus replacing the first paramter - $1
- with your input.