3/1/2023 0 Comments Iterm themes zsh![]() 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. □ At this time, my favorite color scheme is Guezwhoz.A new team member had just joined my team at GitHub and it was their first time using macOS as the primary work machine. Then import this file in iTerm to be able to use it in the color presets dropdown. itermcolors.txt extensions, rename it to keep only. To export a preset, open it and export it with save page as. To find a preset that suits you go to the iterm2colorschemes site. You can either directly choose your own colors or use a preset. Let's start by finding the right colors under Profiles > Colors. Here you will be able to customize your terminal colors, opacity, cursor, widgets, and much more. □ Enable English subtitles if you want to see my choices If the configuration wizard doesn't start automatically, use the command p10k configure It should, then, ask you about your preferences as shown in the following video: Once done, stop iTerm by using the shortcut ⌘Q and restart it. At the opening, you should access the powerlevel10k wizard.Īt first, it can ask you to install a few fonts, install them to access all customization properties. ![]() ![]() Go ahead and install it: git clone -depth=1 ~/powerlevel10kĮcho 'source ~/powerlevel10k/powerlevel10k.zsh-theme' >~/.zshrc This wizard will ask for your preferences and create the corresponding theme configuration. Powerlevel10k allows you to highly customize your terminal theme using a "configuration wizard". Restart your iTerm and you are done! Try navigating around, you should now have nice suggestions □ Theme Then go back to your ~/.zshrc and add zsh-autosuggestions to the array like: plugins=( I personally use it so I'm gonna share it with you.įirst, go to ~/.oh-my-zsh/custom/plugins and clone this repository: git clone $/plugins/zsh-autosuggestions It is also possible to easily add command autocomplete based on your history. Z is one of my favorite plugins, it allows you to easily navigate to your most visited directories. Finally, do not forget to restart your terminal.įor example to add z and GitHub cli: plugins=( zshrc (located at your ~), find the line containing plugins=(git) and add the name of your newly selected plugin to the plugins array. To add another plugin, choose one from this list. If you want to try, go to a git repository and run gst to get your current git status. Install it using the following curl command: sh -c "$(curl -fsSL )"īy default, oh-my-zsh comes bundled with the git plugin. It allows you to use built-in helpers, themes, plugins. Oh-my-zsh is an open-source framework that will help you managing your zsh configuration. Start by downloading the app here and install it on your mac. It is totally free and brings a lot of very convenient features (like split panes, global search, triggers.) as well as multiple customization possibilities (we will see it later). ITerm 2 is a replacement for the default mac terminal app. At the end of this tutorial, you will be able to configure it according to your own needs/preferences. ![]() Today, I'm gonna show you how I personally set up my ZSH terminal on my mac. Hey friends, welcome to this quick tutorial □
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |