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).
First I grep-ed ~/.config/fish for the abbreviations and found them in ~/.config/fish/functions/__git.init.fish, so I edited it but that didn't affect anything
Also tried removing the relevant lines from there and adding new functions in ~/.config/fish/config.fish, but still no good
Eventually I deleted the SETUVAR in ~/.config/fish/fish_variables, and sourced my ~/.config/fish/config.fish again This works, but is missing some niceties, such as expanding the abbreviation before running it.
Is there a better way to do this? And thanks for the great plugin :)
Hi, I'd like to override some of the defaults - for example using
gcm
asgit checkout master
andgcmsg
forgit commit -m $argv
(matching what I'm used to in zsh/OMZ).~/.config/fish
for the abbreviations and found them in~/.config/fish/functions/__git.init.fish
, so I edited it but that didn't affect anything~/.config/fish/config.fish
, but still no goodSETUVAR
in~/.config/fish/fish_variables
, andsource
d my~/.config/fish/config.fish
again This works, but is missing some niceties, such as expanding the abbreviation before running it.Is there a better way to do this? And thanks for the great plugin :)