fish | friendly interactive shell attachment
mouse 3087 · person cloud · link
Last update
2024-09-19
2024
09-19
« — »

Resources

Extensions

Prompt power-up

  • decompress fish_config.7z attachment in ~/.config/fish/
  • curl -L https://get.oh-my.fish | fish
  • omf install bobthefish
  • download and install Meslo font from nerd-fonts
  • set MesloLGMDZ Nerd Font Mono font for your terminal
  • put set -g theme_nerd_fonts yes in your ~/.config/fish/config.fish
  • customize fish_greeting.fish and fish_right_prompt.fish in ~/.config/fish/functions/

On cygwin under windows you can install DejaVu Sans Mono ttf powerline font, and set fish as the default shell.

In the attached file there is a simple prompt with git support.

Commands

  • fish_update_completions -- scan man pages for completion tips
  • env VAR1=xxx VAR2=yyy command arg1 arg2 ... -- run command with env vars