prezto icon indicating copy to clipboard operation
prezto copied to clipboard

Add garrett theme

Open sorin-ionescu opened this issue 9 years ago • 12 comments

Evaluate and embed @chauncey-garrett's https://github.com/chauncey-garrett/zsh-prompt-garrett as an external theme.

sorin-ionescu avatar Jul 04 '15 14:07 sorin-ionescu

I'd be honored to have my theme as a part of Prezto. Let me know if there's anything I can do to help.

chauncey-garrett avatar Jul 04 '15 16:07 chauncey-garrett

If you don't want it to be an external theme, you'll have to use Prezto's coding style. If you want it to be faster, look into asynchronicity for Git; see, #796, #892, and #888.

sorin-ionescu avatar Jul 04 '15 18:07 sorin-ionescu

If you want it to be faster, look into asynchronicity for Git; see, #796, #892, and #888.

I'm definitely interested in making the prompt faster while in a Git directory since there is a slight but noticeable delay (deciseconds scale). However, I won't be able to work on this anytime in the near future (that's not to say I won't eventually take time to work on speed improvements).

In the meantime, if someone wants to tackle it: PRs accepted!

you'll have to use Prezto's coding style.

Are we talking just tabs to 2 spaces (which I'm starting to like more and more) or more than that?

If you don't want it to be an external theme,

May be best to keep it external for two reasons:

  1. It's more complicated that most other prompts I've come across -> I'll be able to handle issues directly
  2. I'd like to add asynchronicity for Git at some point in the future

chauncey-garrett avatar Jul 23 '15 16:07 chauncey-garrett

The coding style refers to more than spacing. You'll have to read the code to get a feel for it.

I don't mind keeping it external.

sorin-ionescu avatar Aug 08 '15 17:08 sorin-ionescu

Just discovered this theme, it's nice :+1:

nomasprime avatar Feb 11 '16 15:02 nomasprime

@habitullence Thanks! :)

chauncey-garrett avatar Feb 11 '16 15:02 chauncey-garrett

@chauncey-garrett Thank you :) Did you get a chance to look at async? If not, I'm trying to learn zsh. Would be happy to take a look at it if you can point me in the right direction.

nomasprime avatar Feb 27 '16 16:02 nomasprime

@habitullence I haven't had the time of day but it's still something I'd like to incorporate. See @sorin-ionescu's first comment in this thread that includes several conversations around doing so.

chauncey-garrett avatar Mar 07 '16 22:03 chauncey-garrett

@sorin-ionescu It's still not in external, is it? At least I don't get it during update.

michaelaye avatar May 05 '16 11:05 michaelaye

This was added to an experimental contrib repo in https://github.com/belak/prezto-contrib/commit/8ced528185d9d4c7bffd37d6fc290e3099616870

belak avatar Nov 29 '17 00:11 belak

Any news on this one? Still not merged?

binarykitchen avatar Mar 06 '19 23:03 binarykitchen

I'd love to see this merged as well. Garrett is the most useful prompt I've seen

msubel avatar Feb 22 '22 22:02 msubel