Requires mafredri/zsh-async.
Add the following to your .zimrc
:
zmodule romkatv/gitstatus # optional
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() {
EXIT=$?
PS1=`~/.prompt bash ${EXIT}`
}
./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_DYNAMIC_WIDTH=1
Shorten the prompt for narrow terminal windows.
FANCY_PROMPT_USE_SYMBOLS=1
Use powerline symbols. See powerline/fonts.