piranha / goreplace

command line tool for search and replace
ISC License
185 stars 14 forks source link

gr in zsh(oh my zsh plugin) turns into "git remote" #4

Closed adnaan closed 11 years ago

adnaan commented 11 years ago

On my zsh shell with "oh my zsh" plugin, "gr" is an alias for "git remote" https://github.com/robbyrussell/oh-my-zsh/blob/master/plugins/git/git.plugin.zsh

This plugin is popular, so maybe there should be an alternative alias too. Bet you didn't see that one coming. Suggests: "grp", "grc"

Ofcourse I can have any alias I want. But you know, nice if you propose it.

piranha commented 11 years ago

Oh, I really didn't see that coming. But honestly, it's so ingrained in my muscle memory that I really don't want to change to anything else: it's short, easy to type and I use it all the time. Comparing this to git remote, which I use very occasionally... I don't think git remote deserves such a short alias, really.

adnaan commented 11 years ago

Yeah well. It would have been nice.

piranha commented 11 years ago

I guess I could propose an alternative shortcut or a solution how to override one from oh-my-zsh without making too many changes. :)

adnaan commented 11 years ago

:+1:

piranha commented 11 years ago

How do you usually customize oh-my-zsh? Is there any specific file to put unalias gr, for example?

piranha commented 11 years ago

Oh, sorry, found it in a readme. :)

piranha commented 11 years ago

Take a look at updated readme, please (search for 'NOTE:').

adnaan commented 11 years ago

Great, They say it's the tiny details:)