APPLE

macOS - Fish, virtualfish, oh-my-fish, nerd-fonts, bobthefish theme

  1. Install Fish.

    brew install fish
  2. Install oh-my-fish.

    curl -L https://get.oh-my.fish | fish
  3. Set Fish as an active shell.

    sudo echo /usr/local/bin/fish >> /etc/shells
    chsh -s /usr/local/bin/fish
  4. Install virtualfish.

    pip install virtualfish

    Edit ~/.config/fish/config.fish and add eval (python -m virtualfish compat_aliases) at the end of the file (compat_aliases enables virtualenvwrapper compatibility aliases).

  5. Install bobthefish theme.

    omf install bobthefish
  6. Install and set nerd-fonts.

    brew tap caskroom/fonts
    brew cask install font-hack-nerd-font

    Edit ~/.config/fish/config.fish and add set -g theme_nerd_fonts yes at the end of the file.

  7. Edit ~/.config/fish/config.fish and add these commands at the end of the file:

    set -g theme_color_scheme solarized-dark
    set -g theme_newline_cursor yes
    set -g theme_title_display_user yes
    set -g theme_title_display_process yes
    set -g theme_display_cmd_duration yes

    These commands set the solarized-dark theme, move the cursor to the new line, display user and process in the terminal title and show a time duration of a command.