Your shell dresses up lovely (*^-^)
Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE
README.md
example1.png
example2.png
example3.png
example4.png
example5.png
her_feature.png
init.zsh
zsh-shell-kawaii.zsh

README.md

zsh-shell-kawaii

About

The tool of $PROMPT 👍
You can define $PROMPT with (or without) her easily !

She is ↓
her feature

Examples

example1
example2
example3
example4
example5

Install

The case of using zplug.

.zshrc

zplug 'aiya000/zsh-shell-kawaii'

Shell variables

  • $SHELL_KAWAII_HER_VISIBILITY
    • default value (bool): 0
    • Show pretty character if the value is 1
  • $SHELL_KAWAII_FAKE_USERNAME
    • default value (string): $(whoami)
    • Show as the user name
  • $SHELL_KAWAII_FAKE_HOSTNAME
    • default value (string): $(hostname)
    • Show to the host part if $SHELL_KAWAII_HOST_VISIBILITY is 1
  • $SHELL_KAWAII_HOST_VISIBILITY
    • default value (bool): 1
    • Don't show $SHELL_KAWAII_FAKE_HOSTNAME on the $PROMPT if the value is 0
  • $SHELL_KAWAII_CLI_TO_LOW
    • default value (bool): 0
    • Insert line break between the feature and CLI
  • $SHELL_KAWAII_USER_DELIMITER
    • default value (string): '$'
    • Show before CLI
  • $SHELL_KAWAII_MORE_PROMPT_COMMAND
    • default value (comnand or function): 'echo ""'
    • Insert the result to after $PROMPT or $RPROMPT
  • $SHELL_KAWAII_AUTO_SET_ZLE_WIDGETS
    • default value (bool): 1
    • This should be set to 0 if you want to define zle-line-init and zle-keymap-select yourself

Setting example

# zsh-shell-kawaii
export SHELL_KAWAII_HER_VISIBILITY=1
export SHELL_KAWAII_HOST_VISIBILITY=1
export SHELL_KAWAII_FAKE_USERNAME='aiya_000'
export SHELL_KAWAII_FAKE_HOSTNAME='Arch'
export SHELL_KAWAII_HER_VISIBILITY=1
export SHELL_KAWAII_HOST_VISIBILITY=1
export SHELL_KAWAII_FAKE_USERNAME='☆ミ'    # Dancing stars
export SHELL_KAWAII_FAKE_HOSTNAME='aiya000' # ミ☆   on me!
export SHELL_KAWAII_CLI_TO_LOW=1
export SHELL_KAWAII_USER_DELIMITER='>>>'