16 lines
397 B
Text
16 lines
397 B
Text
#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]
|
|
|
|
## cron script to pull updates
|
|
|
|
|
|
cd ~/.zprezto && git pull && git submodule update --init --recursive
|