➜ ~ nano ~/.zshrc
zsh: command not found: nano
➜ ~ pwd
/Users/uttamkhan
➜ ~ ls
zsh: command not found: ls
➜ ~ exec $SHELL
/etc/zshrc:7: command not found: locale
/Users/uttamkhan/.oh-my-zsh/oh-my-zsh.sh:56: command not found: mkdir
/Users/uttamkhan/.oh-my-zsh/tools/check_for_upgrade.sh:29: command not found: git
/Users/uttamkhan/.oh-my-zsh/oh-my-zsh.sh:115: command not found: rm
compdump:138: command not found: mv
/Users/uttamkhan/.zshrc:104: command not found: pyenv
Asked
Active
Viewed 47 times
0

David Makogon
- 69,407
- 21
- 141
- 189

Moniruzzaman Khan
- 41
- 6
-
You probably messed up the `PATH` environment variable or `path` array. – Shawn Jul 21 '23 at 04:35
-
You just show us that your PATH/path is obviously wrong. Why don't you simply fix it by setting it to a reasonable value? – user1934428 Jul 21 '23 at 06:07
-
fyi this is on the wrong site - consider moving to [apple.se]. Stack Overflow is for programming q&a. – David Makogon Jul 25 '23 at 18:58