-
Notifications
You must be signed in to change notification settings - Fork 5
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
[Feature Request] Allow us to add own custom colours #3
Comments
Hello @grigorii-horos, any chance? |
Hey @gusbemacbe . c+=(skyblue_hex '%F{#87afdf}') |
Hello @grigorii-horos It does not work yet: The code is in the first file called autoload colors
colors
c+=(skyblue_hex '%F{#87afdf}')
c+=(piltover_hex '%F{#7c6c48}') The files are sourced in the sixth file called source $HOME/.znap/colors/colors.plugin.zsh
source $HOME/.config/zsh/config.d/01-cores.zsh The plugin I used @marlonrichert's znap. |
I don't know how it was realized in another plugin ( Try c+=(skyblue_ansi '�[38;2;15;161;166m')
c+=(piltover_ansi '�[38;2;133;133;105m') |
It does not work either, @grigorii-horos: Maybe it must be @marlonrichert's znap or my zsh configuration. I'll leave my zipped file for both you to analyse. |
@gusbemacbe No idea why you are tagging me or what this is about, but if you think it’s a bug in Znap, please open an issue over there. |
Hello,
Give a look at the example of ohmyzsh/plugins/web-search and go to the end of README where
ZSH_WEB_SEARCH_ENGINES
allows us to add other search engine contexts.I would do like:
And it looks like:
Mix of zpm-zsh's colors with colour functions:
Using ZSH's colour hexadecimal codes, but it requires
print -P
. And using ANSI RGB code does not requireprint -P
:The text was updated successfully, but these errors were encountered: