You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm imagining a flag for esh that allows this on the command line so I don't have to manually import utilities in each of my template files, e.g.: esh -i utils/net.sh -i utils/data.sh -o output.conf input.conf.esh. My gut is telling me there's some kind of way to do this in the shell by altering the environment or passing some flags to the shell interpreter (-s flag) without altering esh, but I can't figure it out.
The text was updated successfully, but these errors were encountered:
Is there a good way to import my own utilities globally without manually importing them from every file?
For example, if I have this:
I can then write a template that imports my utility like this:
I'm imagining a flag for esh that allows this on the command line so I don't have to manually import utilities in each of my template files, e.g.:
esh -i utils/net.sh -i utils/data.sh -o output.conf input.conf.esh
. My gut is telling me there's some kind of way to do this in the shell by altering the environment or passing some flags to the shell interpreter (-s
flag) without altering esh, but I can't figure it out.The text was updated successfully, but these errors were encountered: