# My-Alternatives: A wrapper for update-alternatives offering user-level customizations. Supports Debian, SUSE, and RedHat

I'm excited to announce release v0.7.0 of `my-alternatives`

* https://github.com/TekWizely/my-alternatives 

My-Alternatives is a light-weight wrapper over update-alternatives, offering user-level customizations.

Supports Debian, SUSE, and RedHat

---

## Easy to Get Started
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](https://github.com/TekWizely/my-alternatives) for more information

---

## Release Notes - v0.7.0

### Re-Write

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 `--admindir` &amp; `--altdir`).

This new approach makes it much easier to support **all** available commands for managing your custom alternatives.

### RedHat

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.

### SUSE

The SUSE implementation of _update-alternatives_ is really just a re-branded version of the Debian tool.

### Multiple Scripts

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 : `my-alternatives-debian`
* RedHat / CentOS : `my-alternatives-redhat`

