edestecd / puppet-software

Puppet Module to install various Desktop Software
GNU General Public License v3.0
8 stars 7 forks source link

Git should provide git-extras and (oh-my-zsh) aliases #17

Open bittner opened 6 years ago

bittner commented 6 years ago

Currently, we only have the undo-commit alias in the git class. As a starting point.

git-extras

The git-extras package already provides an undo alias that behaves exactly the same way. Also, the package is very popular (the more popular the more it makes sense to include a feature for general consumption).

Puppet class parameter: extras => true

Oh My Zsh Git aliases

Oh My Zsh is tremendously popular, and because of its popularity it may be a good idea to provide the same set, or at least a matching subset, of Git aliases for Bash.

Preferably, the aliases should be defined in a Git config file and generically be turned into Bash shortcut aliases (e.g. gco, gaa, etc.).

Puppet class parameter: bash_aliases => true

Reading Resources

bittner commented 6 years ago

Any opinion about that?

bittner commented 6 years ago

Bash-it is a good fit for adding "Oh My Zsh" Git features to Bash. See ansible-software/ for reference.

edestecd commented 6 years ago

I'm open to adding anything, as long as it optional and defaults to off.