--- title: "Fish" date: 2019-05-03T20:14:43-06:00 tags: - linux - shell draft: false --- Let's use fish instead of bash. [fish shell](https://fishshell.com/) shell has many great features, dynamic auto suggestions, auto completion from man pages, a web based configuration tool, syntax highlighting, and ~~[Oh My Fish](https://github.com/oh-my-fish/oh-my-fish)~~ [Fisherman](https://github.com/jorgebucaran/fisher). Some great setup tips were on [Arch Linux Wiki](https://wiki.archlinux.org/index.php/Fish#Use_terminal_emulator_options). I chose launch it from my bashrc, add the following as the last line(if you need to get a bash shell run bash --norc) Add the following to .bashrc exec fish ~~Installing Oh My Fish is this simple~~ Install fisherman curl https://git.io/fisher --create-dirs -sLo ~/.config/fish/functions/fisher.fish Then run fisher to update all the plugins in fishfile fisher Install plugins by ```bash fisher add repo_name/package fisher add oh-my-fish/theme-bobthefish fisher add gitlab.com/repo_name/package ``` Here's a currated list of great plugins from the developer of fisher [awesome-fish](https://github.com/jorgebucaran/awesome-fish). I have installed: ```bash oh-my-fish/theme-bobthefish franciscolourenco/done sends a notification when a long running process completes jethrokuan/fzf completions and bindings for the fuzzy finder app fzf ``` Tmux wouldn't correctly display some of the symbols in the themes. Solution is to start tmux with the -u option, explicitly set UTF-8. I also setup crostini to use powerline fonts so that spaceship theme would work. See [Crostini Fonts](https://www.reddit.com/r/Crostini/comments/9blkjv/powerline_fonts_in_the_crostini_terminal/)