lambda-mod-zsh-theme
lambda-mod-zsh-theme copied to clipboard
change some shell function
some function and variables such as: git_prompt_info
, $fg
and others are only available in oh-my-zsh
. Maybe we can change them to use this theme without oh-my-zsh
.
Take a look at agnoster theme
. URL
Although the url is in oh-my-zsh
, but the theme can use without it, it uses some function defined by itself to make sure all zsh command line can use it.
Possible like #12
This would be a really nice idea. We'd love to have some contribution for this feature. I hope you or anyone else would like to take the lead. Thanks.
$fg $bg
and other variables are set by zsh/misc/colors
which is loaded by zsh/complist
.
git function, git_prompt_short_sha
and git_prompt_status
, can define explicitly in the theme file.
I have tried, but it failed to use on other framework.
oh-my-zsh
use source
to load theme, so zsh/misc/colors
can work correctly. Others use zstyle
or other method, which cannot use with zmodloaded
( for me ).
The best way, I think, is to use some thing like agnoster
instead of colors
. This may change the origin code a lot.