GitHub

I want to use a whole script


Aliases and Functions are very useful. But sometimes they aren't enough. Maybe, in your day to day, you have to run a lot of scripts or you'd like to automate some needlesly complex task with a script.

Bee can register a whole script using the register and s flags together:

bee -register full/path/to/my/connect_to_db.sh -s

The script will be registered using its original filename - connect_to_db - but Bee will ask you if you want to provide a different name.

Note that you'll need to use the absolute path to these files. Using relative paths might cause unexpected behaviour.