Hi.
I was overjoyed when I tried st.
So much that I registered within a week, great tool.
Even more so when I discovered that it can operate as a portable app.
It’s highly convenient to be able to carry around a portable editor/sdk/
toollchain.
I have a feature request though:
Please provide support for a run-time variable that expands/evaluates
to the local drive that sb itself is installed on.
Use case:
St user has a portable toolchain on a removable drive,
let’s assume drive_X:\my-toolchain\etc*.exe
Unfortunately, since we are on a portable drive,
drive_X: letter assignment will change when moving the drive around.
St itself is installed as a portable app on the same removable drive,
and has to somehow point the builder(s) to the above toolchain.
Currently st user has to either:
a) adjust system/user path, or
b) edit/hard-code full paths on builder config files according to a changing drive letter.
Proposed solution/enhancement:
Provide an st variable (lets say $DriveLetter),
that is evaluated on st start-up and corresponds to the drive letter
st itself in installed on.
The variable is to be expanded on evaluation of builder files
to substitute the changing drive letter of a removable drive.
Now the user can use $DriveLetter:\my-toolchain\etc*.exe on builder files,
and the builder system will pick-up the ever-changing paths of the removable drive.
It would be really helpful when operating in portable mode.
Thank you.