Configuration zsh

J'utilise macbook pro avec MacOS Monterey et ma configuration zsh ne marche pas. Voici ce qui s'affiche: Last login: Sat Nov 11 05:49:40 on ttys000

/Users/<username>/.zshrc:source:75: no such file or directory: /Users/<username>/.oh-my-zsh/oh-my-zsh.sh



Idez moi configurer le terminal en zsh. Merci

MacBook Pro 13″, macOS 12.7

Posted on Nov 10, 2023 9:05 PM

Reply
2 replies

Nov 12, 2023 9:04 AM in response to mawouko

You can delete or rename any hidden zsh related profiles which begin with a dot. In particular the "~/.zshrc" file which contains the bad command and/or command path "/Users/<username>/.oh-my-zsh/oh-my-zsh.sh". You can also edit the "~/.zshrc" file and correct or comment out the line with that path & command. Of course doing this may break some third party apps or utilities which may have modified your zsh profile files(s). Usually best to edit the file to comment out the bad line or to correct it.


FYI, on my clean install of Ventura, I have no local zsh profile files in my home user folder. Anything in your home user folder for a zsh configuration file was added by you or some third party app you have installed such as oh-my-zsh.


This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Configuration zsh

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.