diff --git a/fish/README.md b/fish/README.md new file mode 100644 index 0000000..f32db3a --- /dev/null +++ b/fish/README.md @@ -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 ~/.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 +``` diff --git a/fish/config.fish b/fish/config.fish index 55961ff..8d0521f 100644 --- a/fish/config.fish +++ b/fish/config.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