Software Collections logo

Personally, I find it difficult to remember which SCLs (software collections) I have enabled while I am doing development. Or, perhaps more likely, when I get distracted from development and I come back to the window I was using before. As a result, I added the following to my bashrc which displays in the prompt what SCLs are enabled.

if [ "$X_SCLS" ]; then
PRETTY_SCLS=${X_SCLS// /,}
PRETTY_SCLS=${PRETTY_SCLS/%,/}
PS1="($PRETTY_SCLS) $PS1"
fi

Someday, maybe I'll figure out the fancy that is powerline and rewrite this as a plugin.

So, just a short post, but I would love to hear your tricks for using software collections in the comments.

Last updated: November 1, 2023