![]() Why did this all of a sudden randomly start to happen, and any ideas how to fix it? I haven't downloaded anything for a while, and I'm pretty sure the OS didn't auto-update today. P.S., I just said "yes" install git, and it took about 30 minutes, and now it's asking to install it again! I just restarted my computer just in case, but it's still throwing the same message and error if I say no. Xcode-select: Failed to locate 'git', requesting installation of command line developer tools. Git: error: sh -c '/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -sdk /Applications/Xcode.app/Contents/Developer/Platforms/atform/Developer/SDKs/MacOSX.sdk -find git 2> /dev/null' failed with exit code 34304: (null) (errno=Invalid argument) Sh: line 1: 848 Abort trap: 6 /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -sdk /Applications/Xcode.app/Contents/Developer/Platforms/atform/Developer/SDKs/MacOSX.sdk -find git 2> /dev/null Referenced from: '/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin/Contents/MacOS/IDESimulatorAvailability'Įxpected in: '/Library/Developer/PrivateFrameworks/amework/Versions/A/CoreSimulator'" UserInfo= 18:44:57.936 xcodebuild DVTPlugInLoading: Failed to load code for plug-in .IDESimulatorAvailability (/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin), error = Error Domain=NSCocoaErrorDomain Code=3588 "dlopen(/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin/Contents/MacOS/IDESimulatorAvailability, 0x0109): Symbol not found: (_OBJC_CLASS_$_SimDiskImage) Here is the error message if I say "no I don't want to install git": $ git status Reload your terminal for the change to take effect source ~/.All of a sudden, out of the blue, my Macbook Air (OS 12.5.1 Monterey) just started to ask me to install git when I type git status into the terminal (iTerm2). Now, Set ZSH_THEME="powerlevel10k/powerlevel10k" in ~/.zshrc. We will use git and Oh-My-Zsh to install Powerlevel10k git clone -depth=1 $/themes/powerlevel10k Now, that the required fonts have been installed. for Meslo: "": "Meslo LG M for Powerline".for Source Code Pro: "": "Source Code Pro for Powerline".The single quotes are important! Restart VS Code after the config change. for Source Code Pro + Font Awesome: "": "'SourceCodePro+Powerline+Awesome Regular'".Edit VS code preference and set the following key-value pairs: Installing a patched font will mess up the integrated terminal in VS Code unless you use the proper settings. To enable these, go to “iTerm → Preferences → Profiles → Keys → Presets… → Natural Text Editing → Boom! □ Bonus: Vs Code Terminal Config # Restart iTerm2 for all changes to take effect.īy default, word jumps (option + → or ←) and word deletions (option + backspace) do not work. Wd (warp directory) is a neat plugin that lets us jump to custom directories in zsh without using a cd, as cd might be inefficient when the frequently visited directories have a long path. zshrc under the plugins section plugins=(git)įor it to take effect and reload your shell source ~/.zshrc wd The git plugin for ZSH provides many aliases and useful functions for git on ZSH. To install plugins we will use plugins section on the. This is the file in which we will be configuring plugins and themes for the shell. bash_profile file that we used for the Bash shell. You can do so by using CURL sh -c "$(curl -fsSL )". Oh-My-Zsh is essentially a framework to manage your ZSH configuration, is highly recommended to download and set it up. Now, to set ZSH as your default shell use the following command chsh -s /usr/local/bin/zshĪlternatively, for older Mac OS High Sierra and before you might want to run the following instead chsh -s /bin/zsh Installing Oh-My-Zshįor configuring plugins and styling our shell we will be using Oh-My-Zsh. Alternatively, if you’re on Linux following this guide, and if you’re on Windows follow this guide. This should install the shell on your machine. If you’re on a Mac like me, the easiest way to install the shell is through Homebrew through a single command: brew install zsh Since it is based on the same shell as Bash, the learning curve for the shell is fairly easier □. It adds multiple functionalities through support for multiple plugins and themes. ZSH, also called Z Shell, is an extended version of the Bourne shell (sh) that we are used to. To download iTerm2 on your Mac click here.
0 Comments
Leave a Reply. |