shell-scripts/home_zsh/zsh_notes.txt

16 lines
397 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:
2019-03-14 19:58:24 -05:00
username@host ~ % [0]
## cron script to pull updates
cd ~/.zprezto && git pull && git submodule update --init --recursive