My prefered zsh prompt
Install bluedragon1221/zsh-lambda-prompt
with your favorite zsh-plugin manager.
Then, add the following line to your ~/.zshrc
:
prompt lambda
Currently, there are two configuration options.
$CURSOR_BEAM
determines if you want the prompt to override the cursor shape.
This will also keep the cursor a beam after you open a program that changes it (like neovim).
1
to enable, or 0
to disable
$DIR_HASHES
some default named directories.
1
to enable, or 0
to disable
Directory | Substitution |
---|---|
~cfg |
~/.config |
~pic |
~/Pictures |
~doc |
~/Documents |
~dl |
~/Downloads |
~p |
~/projects |
~py |
~/projects/python |
~rs |
~/projects/rust |
$GIT_STATUS
enable or disable git status on the right prompt.
1
to enable or 0
to disable
$PROMPT_CHAR
Change the prompt character.
λ
is the default, but anything is accepted.
$ENABLE_SUDO_PROMPT
This prompt has the ability to override the default sudo prompt.
1
to enable or 0
to disable