-
Notifications
You must be signed in to change notification settings - Fork 39
Customize
BlaCk_Void edited this page Apr 21, 2020
·
16 revisions
Table of Contents
-
BlaCk-Void.zshenv: Add to path some things(Application,bin,.local.bin..etc) that might be in your home directory(~/) and the location of package manager's(cargo,linux brew,snap, ..etc) bin. -
BlaCk-Void.zshrc: Main Setting File. -
autoload/*: Various functions, set to lazyload(autoload) immediately after calling BlaCk-Void.zshrc.
See Features for more information on the functions. -
~/.zthemeorBlaCk-Void.ztheme: Customable theme setting file, load before normal plugins load. -
lib/*: Loaded at the end ofBlaCk-Void.zshrc. -
complition/*: Add fromlib/completionto$fpath. -
BlaCk-Void.zlogin: Optimization related settings, such as byte compilation in the background.
See here.
Theme consists of
Color Mode, Icon Mode, and Theme Mode.
Color Definition and Icon Definition execute immediately, and Apply to Theme executes when Theme Definition.
Plugin
- Create file to your home.
- Restrictions: Work only in
~/.zplugins
touch ~/.zplugins
Theme
- Copy file to your home.
- Restrictions: Work only in
~/.ztheme
cp $BVZSH/BlaCk-Void.ztheme ~/.ztheme
- Apply Setting
Restart terminal or Start new session - FAQ: Can not change during use?
This isnโt supported by powerlevel10k.
- Install zsh plugins
- Theme Mode, Color Mode, Icon Mode
Write along the Zplugin WIKI.
- Things that will help.
- awesome-zsh-plugins
- BVZSH Setting
- zplugin-configs
-
THEME MODElist:auto,powerline,simple,powerline-single,simple-single -
auto
Default ispowerline.
When not support xterm or 256 color,simpletheme Activate. -
Powerline
-
Simple
-
Powerline - Single
-
Simple - Single
- Things that will help.
- Compatible with Powerlevel9k
Powerlevel9k's documents: README, show off your config, Stylizing Your Prompt, User Segments.
Powerlevel10k's configs: configs, purepower. - BlaCk-Void-Zsh's Ztheme Doc.
- Design
-
COLOR MODElist:auto,flex,fixed -
auto
Default isfixed.
When not support xterm or 256 color,flexcolor Activate. -
flex
Use the default color of the terminal scheme. -
fixed
Use X-Term's color to show a constant color (in most cases) - Compare
| SCHEME /COLOR MODE | Flex | Fixed |
|---|---|---|
| Breeze | ![]() |
![]() |
| Oxygen | ![]() |
![]() |
| Linux | ![]() |
![]() |
| Black&Green | ![]() |
![]() |
- Things that will help.
- Arch Wiki: Zsh-Colors another Xterm Colors.
-
Useful
commandlist
-
for code ({000..255}) print -P -- "$code: %F{$code}This is how your text would look like%f": Show xterm 256 colors. -
getColorCode foreground: How colors are applied to the foreground.
getColorCode background: How colors are applied to the background. -
POWERLEVEL9K_{ELEMENT}_FOREGROUND=COLOR: Apply color to theme's forground.
POWERLEVEL9K_{ELEMENT}_BACKGROUND=COLOR: Apply color to theme's background.
-
ICON MODElist:auto,nerd,powerline -
auto
auto: Default isnerd.
When ssh or root,powerlineicon Activate. -
nerd font
You can download patched fonts from yanoasis/nerd-fonts.
Installer recommend font is Hack Nerd Font. -
powerline font
You can download patched fonts from powerline/fonts
- Things that will help.
- Nerd Font, Powerline Extra Symbols, Unicode Table
- Useful
commandlist -
get_icon_names: Show applied icons. -
POWERLEVEL9K_{ICONNAME}_ICON=ICON: Apply icon to theme.







