Menu

Extendable

sea

Extendable

Using script tools also enables you to write scripts with or without the functions it provides.
This lets you sort your personal scripts into folders and be able to browse them before execution.

As an example, lets assume you have several scripts handling images, videos, or whatsoever...
So you might come into a situation where you do the same tasks in diffrent scripts.
So either you merge the scripts or change the code in all files containg the same code you just changed...

Using Script-Tools helps here.
st conf st sys edit Paths
Will open the config file of the default paths for script-tools, either add your values there, or create a new file with:
st conf st sys edit NEWNAME

You may write any valid bash code there.
Attention, this will be executed each and every execution of "st"!

Now for the scripts simply write:
newScript or hit <tab> to complete and then enter the new scripts name.
This will create a file $SEA_SCRIPT_DIR with the provided name.
Note that you are no longer forced to name scripts ending with ".sh".


Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.