- Provides a nice colourful prompt.
- Gives you basic information about your git checkout.
- Supports bash, csh and tcsh.
- Asynchronous! (zsh only)
- Rename Tmux windows to CWD
- OSC133 Support
Requires mafredri/zsh-async.
Using zimfw
Add the following to your .zimrc
:
zmodule mafredri/zsh-async --name async
zmodule lewis6991/fancy-prompt
Then:
zimfw install
Add the following to your .zshrc
:
source path/to/fancy_prompt/prompt.zsh
./install.sh
Add the following to your .bashrc
:
export PROMPT_COMMAND=__prompt_command
function __prompt_command() {
local exit_code=$?
PS1=$(~/.prompt bash $exit_code)
}
./install.sh
Add the following to your .cshrc
:
alias precmd 'set prompt="`~/.prompt csh $?`"'
FANCY_PROMPT_TIMEOUT=3
Timeout for commands fetching SCM updates.
FANCY_PROMPT_USE_SYMBOLS=1
Use powerline symbols. See powerline/fonts.