![]() ![]() Open ~/.zshrc and change the theme to ZSH_THEME="cobalt2", save the file and restart iTerm2. Then copy the cobalt2.zsh-theme file to ~/.oh-my-zsh/themes/. Double click the ermcolors file (if you get a complaint you can always right click the file and choose open, then click the button Open). ![]() I really like cobalt2 that unfortunately doesn’t come preinstalled. If so there should be instructions provided on the link above. Please note that some themes requires you to install new fonts. To activate a theme you simply open ~/.zshrc and find the line that says ZSH_THEME="robbyrussell" and replace “robyrussel” with the theme of your choice. Oh My Zsh comes with a bunch of themes preinstalled ( Check out the previews). Once the changes are made and the file is saved you need to open a new iTerm window to have it reload the settings. Click ⌘Command + ⇧Shift + H to quickly navigate to your home folder. If you have Visual Studio Code (or any other editor) and want to make changes there instead you can click File → Open which will bring up the dialog. Once the changes are made you can save it by pressing ⌃Control + X followed by Y. I normally use the command nano ~/.zshrc to edit the file. This is how my plugins definition looks like at the moment: plugins =( Make sure it’s uncommented by removing the #-sign in the start of the line (if present). Add zsh-autosuggestions to the list of plugins. Zsh-autosuggestions is a great plugin that will suggest auto completions based on what you type. Install it by opening iTerm and write the command: sh -c " $(curl -fsSL ) " Installing the zsh-autosuggestions plugin Oh My Zsh is a framework that extends your zsh shell with a bunch of handy plugins and nice themes. Once that is done I recommend dragging the app to the Dock so it’s easily accessible. While you are there you can also make it a bit more secure by clicking ✓ Secure Keyboard Entry. Set it to default by clicking ✓ Make iTerm2 Default Term in the dropdown. With iTerm.app open and the window in focus, click the word ‘iTerm2’ in the Menu bar. Open iTerm by pressing ⌘ Command → Space, write iterm and hit enter. Open your terminal and write the following commands: brew install cask You can download the app manually from the iTerm2 website or you can save yourself some trouble by using cask which helps you install apps from the command line. It’s more flexible and comes with some additional features. The regular Terminal that is shipped with macOS is sufficient. It normally takes a few minutes to complete. To install brew you simply open a terminal and paste this command: Open a terminal and run this command: xcode-select -install If you want to know more about brew you can check out my post “Brew, rbenv and bundle explained”.įirst we need to install CLI tools for Xcode. The most popular package manager for macOS is called Homebrew, or brew for short. ![]() We will soon go over them one by one, along with some tips and tricks.įirst we have to make some installations and configurations. But believe me, it comes with a log of usability improvements. It may not look that impressive in a static image. You don’t need to install it manually anymore. This is good news, because zsh is our preferred choice. Let’s take a look at how you can make your macOS terminal more user friendly, and make it look dope at the same time.īack in 2019 Apple ditched the default shell bash and replace it with zsh (because of licensing issues). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |