-
Notifications
You must be signed in to change notification settings - Fork 589
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
I want to customise the colours #30
Comments
There are different ways in customizing your colors and depends on what setup you have. The way I changed colors is I am using termite terminal and here you can specify colors like:
and now you can change the colors in your agnoster.zsh-theme file like:
So red will match with #F34F4F (color1). Hope this helps a bit. EDIT: I just found out that you can use 256 colors, for this your terminal needs to understand 256 colors. So what you can do is just specify a 256 color in the .zsh-theme file like:
|
Would it be possible to do something like this? |
This is basically porting [this PR](ohmyzsh/ohmyzsh#3434) over to this repo. Would fix agnoster#30.
|
Just changing the color value from a color picker (Preference/Profile/Colors) is already working and it is very convenient as it give you real time update. |
Maybe you want to cd to the theme folder:
Then, open file to custom colors:
Comment the prompt_context to make dir become shorter.
At the last, find what you want to change. For example, I'll change background color of dir (from blue to red):
|
Agnoster is designed for use specifically with the "Solarized" color palette, which defines a specific mapping of terminal palette ANSI colors to specific RGB values. And also recommends particular uses for those tones. I.e., this is how you're supposed to use them: So, @sevaho and @mkamayd, you're not really supposed to change your terminal color settings like that; you're supposed to set your ANSI Color palette to Solarized and leave it there. Within that Solarized recommendation, though, there's leeway for which particular content/background/accent colors you're using for what role. And maybe people want to customize that? What @Billy- links to (the OMZ fork of Agnoster) is a reasonable way to do this, IMHO. It rearranges the roles of the Solarized colors, without changing the mapping of the palette colors to RGB values. This has the advantage that you could change the color role mapping in your |
Importing https://github.com/tomislav/osx-terminal.app-colors-solarized made my Terminal much more readable. |
My use case for this is to just being able to distinguish command prompts easily (i.e., not to confuse myself between my machine and a server). I tried to change
...and it looks to work! |
COUld you guys please, give a direction on how to change them thanks.
The text was updated successfully, but these errors were encountered: