687 B
687 B
name: cli
description: CLI guidelines. Use whenever using the Bash tool, which is almost always. Also use when you see "command not found: __zoxide_z" errors.
CLI Guidelines
Directory Navigation
- I replaced
cdwithzoxide. Usecommand cdto change directories- This is the only command that needs to be prefixed with
command - Don't prefix
gitwithcommand git
- This is the only command that needs to be prefixed with
- Try not to use
cdorzoxideat all. It's usually not necessary with CLI commands- Don't run
cd <dir> && git <subcommand> - Prefer
git -C <dir> <subcommand>
- Don't run
Flag Names
Prefer long flag names when available:
- Don't run
git commit -m - Run
git commit --messageinstead