fish | friendly interactive shell attachment
Last update
2024-09-19
2024-09-19
« — »
Resources
Extensions
-
- anicode find arbitrary unicode characters matching a search pattern
autoenvstack folder custom env set/restore- cprintf printf with colors
g2 friendly git command line client- getopts command line options parser
- gitignore create .gitignore files from https://www.gitignore.io templates
- paths create or append to environment variables
rvm rvm support- shark sparkline generator (cli histograms)
- spin background job spinner
termcolours list available terminal colour names- upto change to the closest parent folder by name
oh-my-fish plugin manager (list)
prompt themes (see powerline and nerd fonts):
- oh-my-fish bobthefish: powerline-style, git-aware theme
- fisher metro powerline prompt optimized for speed and space
- fisher nitro color-smart powerline prompt based in Metro
- fisher segment powerline prompt builder
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
andfish_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 tipsenv VAR1=xxx VAR2=yyy command arg1 arg2 ...
-- run command with env vars