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
|
||||
set fish_function_path $fish_function_path "/usr/share/powerline/bindings/fish"
|
||||
# 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
|
||||
|
||||
# set mcfly to alias reverse searches
|
||||
#mcfly init fish | source
|
||||
# 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