mirror of
https://gist.github.com/63a85b582d42ab4bff665fc2dbba42e2.git
synced 2024-11-23 14:31:31 -08:00
remove readme.md placeholder and add fish_powerline_ubuntu_the_easy_way.md
parent
6db10c5ffd
commit
21a144bbb8
32
fish_powerline_ubuntu_the_easy_way.md
Normal file
32
fish_powerline_ubuntu_the_easy_way.md
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
Tested on Ubuntu 17.04
|
||||||
|
|
||||||
|
```bash
|
||||||
|
apt install fish powerline
|
||||||
|
```
|
||||||
|
|
||||||
|
This pulls in fonts-powerline python-powerline python-psutil python3-powerline
|
||||||
|
|
||||||
|
add the following lines to ~/.config/fish/config.fish
|
||||||
|
|
||||||
|
```
|
||||||
|
set fish_function_path $fish_function_path "/usr/share/powerline/bindings/fish"
|
||||||
|
source /usr/share/powerline/bindings/fish/powerline-setup.fish
|
||||||
|
powerline-setup
|
||||||
|
```
|
||||||
|
|
||||||
|
and then start a new instance of fish by typing `fish`
|
||||||
|
|
||||||
|
Presumably if you have a different set up or distro, you can use grep/find
|
||||||
|
to get the above information.
|
||||||
|
|
||||||
|
```fish
|
||||||
|
# these commands work with bash or fish
|
||||||
|
cd /
|
||||||
|
find -name fish 2>&1 | grep bindings
|
||||||
|
# which returns
|
||||||
|
./usr/share/powerline/bindings/fish
|
||||||
|
# and then
|
||||||
|
find -name '*.fish' 2>&1 | grep -e 'powerline-setup'
|
||||||
|
# returns
|
||||||
|
./usr/share/powerline/bindings/fish/powerline-setup.fish
|
||||||
|
```
|
@ -1 +0,0 @@
|
|||||||
#foo
|
|
Loading…
Reference in New Issue
Block a user