Skip to content

aiya000/zsh-shell-kawaii

Repository files navigation

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='>>>'

About

Your shell dresses up lovely (*^-^)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages