This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| tips:zsh [2018/11/05 09:42] – [powerline] scipio | tips:zsh [2018/11/05 10:38] (current) – [powerline arch] scipio | ||
|---|---|---|---|
| Line 28: | Line 28: | ||
| < | < | ||
| - | sudo pacman -S powerline powerline-fonts | + | sudo pacman -S powerline powerline-fonts |
| + | </ | ||
| + | |||
| + | add inconsolata font for powerline | ||
| + | < | ||
| + | sudo wget https:// | ||
| + | sudo fc-cache -f -v | ||
| </ | </ | ||
| <file txt ~/ | <file txt ~/ | ||
| - | if [[ -r /usr/lib/ | + | if [[ -r /usr/share/ |
| powerline-daemon -q | powerline-daemon -q | ||
| - | source /usr/lib/python3.7/site-packages/powerline/bindings/zsh/powerline.zsh | + | source /usr/share/powerline/ |
| + | fi | ||
| + | if [[ -r /usr/ | ||
| + | source | ||
| + | POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(virtualenv nodeenv dir vcs) | ||
| + | POWERLEVEL9K_SHORTEN_DIR_LENGTH=1 | ||
| + | POWERLEVEL9K_SHORTEN_DELIMITER="" | ||
| + | POWERLEVEL9K_SHORTEN_STRATEGY=" | ||
| fi | fi | ||
| </ | </ | ||
| + | <file txt ~/ | ||
| + | if [[ -r / | ||
| + | powerline-daemon -q | ||
| + | source / | ||
| + | fi | ||
| + | </ | ||
| + | select inconsolata for powerline medium in tilix | ||
| ==== powerline ubuntu ==== | ==== powerline ubuntu ==== | ||