Added documentation for fish setup, and included configs for RedHat and Debian distros.

This commit is contained in:
Shaun Setlock
2024-12-31 13:58:38 -05:00
parent 24373e4888
commit 811b50a5e5
2 changed files with 30 additions and 4 deletions

24
fish/README.md Normal file
View File

@@ -0,0 +1,24 @@
# Shaun's `fish` Dotfiles
## Location
The configuration files need to be present at this location, `~/.config/fish`. So, we can use the following command to softlink/symlink,
```bash
ln -s <location of cloned dotfiles fish directory> ~/.config/fish
# e.g.
# ln -s ~/dotfiles/fish ~/.config/fish
```
Ensure the file is adjusted (or a copy is made instead) which uncomments lines for the corresponding linux distro.
## Install Powerline Font
This font is expected within our configuration so we should install it.
```bash
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
```

View File

@@ -1,7 +1,9 @@
# set powerline prompt goodness # For Debian-based Distro
set fish_function_path $fish_function_path "/usr/share/powerline/bindings/fish" #set fish_function_path $fish_function_path /usr/share/powerline/bindings/fish
#source /usr/share/powerline/bindings/fish/powerline-setup.fish #source /usr/share/powerline/bindings/fish/powerline-setup.fish
#powerline-setup #powerline-setup
# set mcfly to alias reverse searches # For RedHat-based Distro
#mcfly init fish | source set fish_function_path $fish_function_path /usr/share/powerline/bindings/fish
source /usr/share/powerline/fish/powerline-setup.fish
powerline-setup