This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| powerline [2021/06/15 16:22] – vissie | powerline [2021/06/17 14:42] (current) – [tmux] vissie | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | =====Setup===== | + | ===== Install |
| - | sudo pip 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 / | + | |
| ## Powerline | ## Powerline | ||
| if [ -f `which powerline-daemon` ]; then | if [ -f `which powerline-daemon` ]; then | ||
| Line 9: | Line 13: | ||
| POWERLINE_BASH_CONTINUATION=1 | POWERLINE_BASH_CONTINUATION=1 | ||
| POWERLINE_BASH_SELECT=1 | POWERLINE_BASH_SELECT=1 | ||
| - | . / | + | . / |
| fi | fi | ||
| </ | </ | ||
| + | sudo apt-get install fonts-powerline | ||
| + | or | ||
| cd ~ | cd ~ | ||
| cd ./src | cd ./src | ||
| Line 19: | Line 25: | ||
| # 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 | + | |
| + | ==== 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. | ||