fish
1
总安装量
1
周安装量
#52534
全站排名
安装命令
npx skills add https://github.com/g1joshi/agent-skills --skill fish
Agent 安装分布
mcpjam
1
claude-code
1
replit
1
junie
1
zencoder
1
Skill 文档
Fish (Friendly Interactive Shell)
Fish v4.0 (2025) is rewritten in Rust. It is famous for “It just works” â 90% of what you need (autosuggestions, coloring) is enabled by default.
When to Use
- Interactive Use: It is arguably the best shell for typing commands manually.
- Discoverability: Man page completions are generated automatically.
Core Concepts
Autosuggestions
Fish suggests commands as you type based on history and completions. Right arrow accepts.
Universal Variables
set -U my_var value sets a variable across all current and future shell instances instantly.
Web Config
fish_config launches a browser UI to change colors and prompt.
Best Practices (2025)
Do:
- Use it as Interactive Shell: Set it as your login shell.
- Don’t write scripts in Fish: Write scripts in
bashorshfor portability. Run them from Fish. - Use “Fisher”: The plugin manager for themes.
Don’t:
- Don’t copy-paste Bash: Fish syntax is different (
env var=val->set -x var val).