


- #CUSTOMIZE ITERM2 MAC OS#
- #CUSTOMIZE ITERM2 INSTALL#
- #CUSTOMIZE ITERM2 DOWNLOAD#
- #CUSTOMIZE ITERM2 MAC#
That should be all you need to make your terminal look exactly like mine đ.
#CUSTOMIZE ITERM2 INSTALL#
Install powerlevel10k zsh theme - basically clone the repo and modify the ~/.zshrc file to update the ZSH_THEME.Install plugins like zsh-autosuggestions, zsh-syntax-highlighting (basically you clone the repo and then add the plugin to the list of plugins in your ~/.zshrc file.Install oh-my-zsh (run the curl command).I believe the only other special things that I have in the profile (other than colors) is the ability to use OPTION+arrow keys to to go left / right to the end of strings, OPTION+SHIFT+arrow keys to highlight entire strings, and OPTION+Backspace to delete an entire strings.In iTerm, go to: Preferences > Profile, you can use the + to import the iterm2-profile.json profile.
#CUSTOMIZE ITERM2 DOWNLOAD#
Download my iTerm profile as a json file and import into iTerm.Install iTerm2: brew install -cask iterm2.I wrote up these instructions for my co-worker, but I thought I would re-purpose them into a blog post that I can share with others as well! iTerm2, oh-my-zsh, and powerlevel10k theme setup I was going to link them to my Powerlevel10k Zsh Theme in GitHub Codespaces, but then I realized: this is for setting up a development environment in Codespaces, not so much locally.

Hint: I do! I also came from a Windows background and only first started using macOS for work in late 2019. They had asked if I had any tips on setting up your local development environment. Obviously, that warning is there for a reason, so itâs really your call if you want to do this.A new team member had just joined my team at GitHub and it was their first time using macOS as the primary work machine. If you add âpwshâ to that list of applications, the terminal wonât ask you for confirmation if you want to close the window. To make this window go away, and save you another five keystrokes, look at the bottom of the âShellâ tab of the âPreferencesâ window, in the âAsk when closingâ section. In fact, you may even want to put â pwsh exitâ (without the quotes) in the âRun commandâ field â this will terminate the bash shell automatically when the pwsh process ends, so typing âexitâ in Powershell will close the window.ÄȘnother slight annoyance is that when you want to close the window, technically the âpwshâ process is still running (unless you type âexitâ), so youâll get a friendly confirmation dialog that youâll have to deal with: The âRun inside shellâ checkbox needs to be enabled! You can set a custom command to start when you open a terminal window with this profile: enter pwsh in the âRun commandâ field at the top, and now, every time you open a window with this profile, it starts Powershell Core automatically, saving you all of five keystrokes. What you can do is, you can create a separate profile for your Powershell Core stuff, customize all those colors, fonts, and what-not.
#CUSTOMIZE ITERM2 MAC#
You probably already know that you can customize the Mac Terminal to death, and you may even have noticed that you can create different profiles for different purposes: So wouldnât it be cool if we could launch our Powershell Core in the stylish blue world of bliss that Windows users have become so accustomed to? Setting up a color profile The first thing youâll notice is that this doesnât really play well if youâre using a white background, as the output is often light grey, yellow or even white.
#CUSTOMIZE ITERM2 MAC OS#
If you didnât know, Powershell isnât exclusive to Windows anymore â you can actually run a basic set of Powershell features, called Powershell Core, on Mac OS and Linux as well.Ä«y default, running the âpwshâ command just starts Powershell Core in a regular terminal window. I just recently had the opportunity to sit with Aaron Nelson and go through some really cool Powershell features, and Iâm certainly going to spend time getting to know Powershell a lot better.
