What is Fish Shell?
Fish (Friendly Interactive Shell) is a shell that works great out of the box. Autosuggestions, syntax highlighting, tab completions, and sensible defaults are built-in - no plugins or configuration required. The autosuggestions show commands from your history as you type, in a subtle gray that you can accept with the right arrow key. Syntax highlighting shows valid commands in one color and invalid ones in another, catching typos before you hit enter. For developers tired of configuring zsh plugins, Fish offers immediate productivity gains. The trade-off is POSIX incompatibility - Bash scripts won't run directly in Fish. Many developers use Fish as their interactive shell while keeping Bash for scripts.
Pros
- Works great out of the box
- Excellent autosuggestions
- Syntax highlighting built-in
- Man page completions
- Web-based configuration
- Active development
Cons
- Not POSIX compatible
- Bash scripts need adaptation
- Some tools assume bash