Overview
Fish is a smart and user-friendly command shell with syntax highlighting, autosuggestions, and web-based configuration.
Why It Matters
Fish shell prioritizes user-friendliness with smart completions and a clean syntax.
Essential Commands
set -Ux EDITOR nvimSet universal environment variable
alias gs="git status"Create command alias in Fish
functions -c ls llCopy function definition to new function
fish_configOpen Fish web-based configuration UI
set -e VAR_NAMEErase environment variable
source ~/.config/fish/config.fishReload Fish config file
Quick Start
Start with the enjoy automatic command suggestions
Key Concepts
Enjoy automatic command suggestions
Use intuitive scripting syntax
Configure via web-based interface
Pro Tips
- Combine multiple commands for powerful workflows
- Use aliases to speed up your command entry
- Create scripts to automate repetitive tasks
Common Pitfalls to Avoid
- • Forgetting to check the documentation for edge cases
- • Running commands without understanding their full impact
- • Not testing changes in a safe environment first