shell-scripts/home_zsh/zsh_notes.txt

11 lines
293 B
Text
Raw Normal View History

#zsh notes
https://wiki.archlinux.org/index.php/Zsh
This is an example of a two-sided prompt:
PROMPT='%F{red}%n%f@%F{blue}%m%f %F{yellow}%1~%f %# '
RPROMPT='[%F{yellow}%?%f]'
And here's how it will be displayed:
username@host ~ % [0]