jhillyerd / plugin-git

Git aliases plugin for the Fish shell (similar to oh-my-zsh git)
MIT License
607 stars 85 forks source link

Override default abbreviations #57

Closed josh-friedlander-kando closed 3 years ago

josh-friedlander-kando commented 3 years ago

Hi, I'd like to override some of the defaults - for example using gcm as git checkout master and gcmsg for git commit -m $argv (matching what I'm used to in zsh/OMZ).

Is there a better way to do this? And thanks for the great plugin :)

jhillyerd commented 3 years ago

The abbreviations are setup once during install, so adding universal abbreviations with abbr -a -U to your personal config.fish should override ours.

josh-friedlander-kando commented 3 years ago

That was it. Thank you!