I'm excited to announce release v0.7.0 of
My-Alternatives is a light-weight wrapper over update-alternatives, offering user-level customizations.
Supports Debian, SUSE, and RedHat
With my-alternatives, configuring custom alternatives is as easy as:
# initialize my-alternatives # note: place this in your .profile $ eval "$( my-alternatives init )" # customize an alternative $ my-alternatives select <name>
See the Project's Homepage for more information
This release marks a full re-write of the my-alternatives tool, changing it into wrapper for update-alternatives that manages user-level configurations and uses them when invoking update-alternatives (i.e
This new approach makes it much easier to support all available commands for managing your custom alternatives.
This release also includes support for RedHat.
This is significant because RedHat maintains its own implementation of update-alternatives, which is slightly different than the Debian version.
The RedHat version does not include the uber-useful
--query command, making it impossible to integrate it using just the public API.
As such, supporting it requires a hack, exploiting knowledge of the tool's private internals.
The SUSE implementation of update-alternatives is really just a re-branded version of the Debian tool.
As part of introducing RedHat support, this release now includes two versions of the
my-alternatives script, each named according to the primary OS flavor they support:
- Debian / SUSE :
- RedHat / CentOS :