-
Notifications
You must be signed in to change notification settings - Fork 4.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
make creation of git aliases optional #310
Conversation
This isn't a bad idea, it works the same way If this change is accepted, every module should have this option and |
Why don't you use the Git aliases? They are awesome. I'm worried about adding too many |
I guess for me there are just to many aliases with names that are too similar so a typo could have annoying consequences. Also I already have aliases in ~/.gitconfig for stuff I use most of the time. |
So, you have not even tried to use them and just dismissed them. I have been using them, and typo problems are minimal; they rarely occur. They are similar for consistency. You just have to memorise the middle letter. |
aw man. what a terrible reason to reject this :( |
One man's pollution is another man's treasure. They are superior to gitconfig aliases. Had you tried to use them, I might have been more accommodating, but you dismissed them outright. |
Having a way to disable the aliases creation will not remove the value from it. I use and like them, but I can see where some other ppl can disagree with the naming convention or even not wanting that many aliases and, for those, a way to disable the aliases creation would be the real treasure. |
+1 @sorin-ionescu Even if they're great, they're getting in the way of what I'm comfortable with. I might learn to like them, but they're constantly being interpreted as misspellings or conflicting with tools im already using, ex: grc. It'd be nice to be able to turn them off, and then turn them back on later. |
@bawigga you can check pull #341 too |
Well, back to oh-my-zsh I guess |
What do you mean? Modify Prezto as you see fit. OMZ also has Git aliases. On Jan 7, 2014, at 14:29, "Adonis K." [email protected] wrote:
|
Isn't the whole point of a project like Prezto to maintain your own fork? |
I like those aliases too, though I'm constantly grepping ~/.zprezto/modules/git/alias.zsh on what each of them is doing, but a zstyle to let the user decide whether they like them or not doesn't sound like too much complication to me. Hence, 👍 and dito @escobera |
could the modules be split in order to avoid the zstyle? git-aliases/ git-functions? |
No, the point of a module is to be self contained. |
@sorin-ionescu is there a particularly compelling reason not to have this? |
No. |
As I do not use the git aliases provided by the git module but do not want to miss out on the defined functions I propose aliases to be optional (on by default). Is
:prezto:module:git
→aliases
okay?