This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
powerline [2021/06/16 22:15] – vissie | powerline [2021/06/17 14:42] (current) – [tmux] vissie | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | =====Setup===== | + | ===== Install |
sudo pip3 install git+git:// | sudo pip3 install git+git:// | ||
sudo pip3 install psutil | sudo pip3 install psutil | ||
+ | |||
+ | ===== Setup ===== | ||
+ | ==== Bash ==== | ||
+ | cp -r / | ||
<sxh bash; gutter: false> | <sxh bash; gutter: false> | ||
sudo vim / | sudo vim / | ||
Line 12: | Line 16: | ||
fi | fi | ||
</ | </ | ||
+ | sudo apt-get install fonts-powerline | ||
+ | or | ||
cd ~ | cd ~ | ||
cd ./src | cd ./src | ||
Line 20: | Line 26: | ||
# When it comes to choosing a font for powerline, I recommend firstly previewing them in an application called font-manager | # When it comes to choosing a font for powerline, I recommend firstly previewing them in an application called font-manager | ||
sudo apt install font-manager | sudo apt install font-manager | ||
+ | ==== Vim ==== | ||
sudo vim / | sudo vim / | ||
<sxh bash; gutter: false> | <sxh bash; gutter: false> | ||
Line 28: | Line 35: | ||
In the Terminal app, select your font. Seem I like Noto Mono for Powerline Regular size 10 | In the Terminal app, select your font. Seem I like Noto Mono for Powerline Regular size 10 | ||
+ | ==== tmux ==== | ||
# powerline-config tmux setup | # powerline-config tmux setup | ||
vim ./ | vim ./ | ||
Line 36: | Line 43: | ||
</ | </ | ||
+ | tmux source-file ~/ | ||
+ | tmux kill-server # You need to restart tmux entirely after changing .tmux.conf. |