Added documentation for fish setup, and included configs for RedHat and Debian distros.
This commit is contained in:
24
fish/README.md
Normal file
24
fish/README.md
Normal 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
|
||||||
|
```
|
||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user