diff --git a/fish/README.md b/fish/README.md index 52041a2..e61829e 100644 --- a/fish/README.md +++ b/fish/README.md @@ -9,17 +9,8 @@ ln -s ~/.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. +## Install Powerline Font or Nerd Font +A nerd font is expected for the awesome unicode characters, and the easiest is probably powerline. ```bash dnf install powerline ``` @@ -27,6 +18,11 @@ 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 ``` + +## Install Bob The Fish Theme (`bobthefish`) +This theme is great. +```bash +omf install bobthefish +``` diff --git a/fish/config.fish b/fish/config.fish new file mode 100644 index 0000000..08b4a75 --- /dev/null +++ b/fish/config.fish @@ -0,0 +1,17 @@ +set -g theme_nerd_fonts yes +set -g theme_display_git yes +set -g theme_display_git_untracked yes +set -g theme_display_git_ahead_verbose yes +set -g theme_display_vagrant yes +set -g theme_display_hg no +set -g theme_display_virtualenv yes +set -g theme_display_ruby no +set -g theme_display_user yes +set -g theme_display_vi yes +set -g theme_display_vi_hide_mode default +set -g theme_title_display_process yes +set -g theme_title_display_path no +set -g theme_title_use_abbreviated_path yes +set -g theme_date_format "+%a %H:%M" +set -g theme_avoid_ambiguous_glyphs yes +set -g theme_show_exit_status yes diff --git a/fish/config.fish.debian b/fish/config.fish.debian deleted file mode 100644 index c9108c0..0000000 --- a/fish/config.fish.debian +++ /dev/null @@ -1,4 +0,0 @@ -# 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 diff --git a/fish/config.fish.redhat b/fish/config.fish.redhat deleted file mode 100644 index dd8cb8e..0000000 --- a/fish/config.fish.redhat +++ /dev/null @@ -1,4 +0,0 @@ -# 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