ajeetdsouza / zoxide

A smarter cd command. Supports all major shells.
MIT License
22.07k stars 537 forks source link

[fixed] How do I actually use this? #736

Closed sg-s closed 7 months ago

sg-s commented 7 months ago
~ ★ zoxide z
error: unrecognized subcommand 'z'

Usage: zoxide <COMMAND>

For more information, try '--help'.
~ ★ z
-bash: z: command not found

i ran zoxide init bash but nothing seems to happen? i added the output to my .bashrc but it doesn't do anything

sg-s commented 7 months ago

on macOS, if you're using bash, you need to add

eval "$(zoxide init bash)"

to .bash_profile