Removed powerline and the distro specific stuff, just too much hassle.

This commit is contained in:
Shaun Setlock
2024-12-31 19:18:53 -05:00
parent 94145e931f
commit 291f252dc6
4 changed files with 25 additions and 20 deletions

View File

@@ -9,17 +9,8 @@ ln -s <location of cloned dotfiles fish directory> ~/.config/fish
# e.g. # e.g.
# ln -s ~/dotfiles/fish ~/.config/fish # ln -s ~/dotfiles/fish ~/.config/fish
``` ```
### Config File ## Install Powerline Font or Nerd Font
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. A nerd font is expected for the awesome unicode characters, and the easiest is probably powerline.
```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.
```bash ```bash
dnf install powerline dnf install powerline
``` ```
@@ -27,6 +18,11 @@ dnf install powerline
## Install Oh My Fish (`omf`) ## Install Oh My Fish (`omf`)
This addon is expected within our configuration so we should install it. This addon is expected within our configuration so we should install it.
```bash ```bash
dnf install fish
curl https://raw.githubusercontent.com/oh-my-fish/oh-my-fish/master/bin/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
View 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

View File

@@ -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

View File

@@ -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