33 lines
1.0 KiB
Markdown
33 lines
1.0 KiB
Markdown
# Shaun's `fish` Dotfiles
|
|
|
|
## Location
|
|
### Config Directory
|
|
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
|
|
```
|
|
### 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.
|
|
```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
|
|
```
|