Removed powerline and the distro specific stuff, just too much hassle.
This commit is contained in:
@@ -9,17 +9,8 @@ ln -s <location of cloned dotfiles fish directory> ~/.config/fish
|
||||
# e.g.
|
||||
# ln -s ~/dotfiles/fish ~/.config/fish
|
||||
```
|
||||
### Config File
|
||||
The paths for certain distributions of Linux can be different. Two files are provided here, for RedHat and Debian family distro's, so we must ensure the correct file is linked.
|
||||
|
||||
```bash
|
||||
ln -s ~/.config/fish/config.fish.debian ~/.config/fish/config.fish
|
||||
# or ...
|
||||
ln -s ~/.config/fish/config.fish.redhat ~/.config/fish/config.fish
|
||||
```
|
||||
|
||||
## Install Powerline Font
|
||||
This font is expected within our configuration so we should install it.
|
||||
## Install Powerline Font or Nerd Font
|
||||
A nerd font is expected for the awesome unicode characters, and the easiest is probably powerline.
|
||||
```bash
|
||||
dnf install powerline
|
||||
```
|
||||
@@ -27,6 +18,11 @@ dnf install powerline
|
||||
## Install Oh My Fish (`omf`)
|
||||
This addon is expected within our configuration so we should install it.
|
||||
```bash
|
||||
dnf install fish
|
||||
curl https://raw.githubusercontent.com/oh-my-fish/oh-my-fish/master/bin/install | fish
|
||||
```
|
||||
|
||||
## Install Bob The Fish Theme (`bobthefish`)
|
||||
This theme is great.
|
||||
```bash
|
||||
omf install bobthefish
|
||||
```
|
||||
|
||||
17
fish/config.fish
Normal file
17
fish/config.fish
Normal file
@@ -0,0 +1,17 @@
|
||||
set -g theme_nerd_fonts yes
|
||||
set -g theme_display_git yes
|
||||
set -g theme_display_git_untracked yes
|
||||
set -g theme_display_git_ahead_verbose yes
|
||||
set -g theme_display_vagrant yes
|
||||
set -g theme_display_hg no
|
||||
set -g theme_display_virtualenv yes
|
||||
set -g theme_display_ruby no
|
||||
set -g theme_display_user yes
|
||||
set -g theme_display_vi yes
|
||||
set -g theme_display_vi_hide_mode default
|
||||
set -g theme_title_display_process yes
|
||||
set -g theme_title_display_path no
|
||||
set -g theme_title_use_abbreviated_path yes
|
||||
set -g theme_date_format "+%a %H:%M"
|
||||
set -g theme_avoid_ambiguous_glyphs yes
|
||||
set -g theme_show_exit_status yes
|
||||
@@ -1,4 +0,0 @@
|
||||
# For Debian-based Distro
|
||||
set fish_function_path $fish_function_path /usr/share/powerline/bindings/fish
|
||||
source /usr/share/powerline/bindings/fish/powerline-setup.fish
|
||||
powerline-setup
|
||||
@@ -1,4 +0,0 @@
|
||||
# For RedHat-based Distro
|
||||
set fish_function_path $fish_function_path /usr/share/powerline/bindings/fish
|
||||
source /usr/share/powerline/fish/powerline-setup.fish
|
||||
powerline-setup
|
||||
Reference in New Issue
Block a user