different behavior with very long curl command or having to use source script.sh instead of. However, it does have some little quirks here and there that you may encouter (e.g. ![]() The list of features zsh has is too long to list here so you will just have to try it yourself!įor the most part, zsh will function much the same as bash as far as compatability go. Its folder name autocompletion, command lookup and such are also much better. With zsh I can type ssh then press arrow up and zsh will only show commands in the history starting with ssh. Say, I execute an ssh command with a bunch of parameters a couple weeks back and want to run the same command again weeks later, in bash I either have to type the whole thing again (and trying to remember the destination's IP Address) or scroll through a bunch of commands history. The most important quality-of-life improvement for me is its amazing autocomplete and approximate autocorrect functionality. zsh offer most of the features bash has and much more. ![]() Many UNIX systems, including Ubuntu and macOS-prior to macOS Catalina, come with bash as the default shell. Some plugins like the git plugin do have functional benefits for making sure that I am on the right branch and reminding me to push my code though. After all, having a colorful and good looking shell window can increase ones' productivity and dev skill by up to 500% which translate to over 9000+ business values!!!! (Just kidding, it was just a fun procrastinating thing to do while having an insomnia □). It makes sense to customize the way they look and feel to our liking. Us developers spend lots and lots of time staring at our terminals (along with our IDE, of course). "This post show how I set up my Terminal (zsh, oh-my-zsh, iTerm 2/Terminal) on every machines I use for development." By Romson Preechawit | Last Updated 26 July, 2020 execute the command below if you want to hide it.How I set up my Terminal (Oh-my-zsh + Powerline9k + iTerm 2) I don’t like to show my long username, so I configured it not showing up. When you execute iTerm, you can see the screen like above. Select Meslo LG M Regular for Powerline what we downloaded above. after installing, open Preference on iTerm again and click Profiles > Text > Change Font. click View Raw to download the font.Īfter downloading it, click the font file to execute it.Ĭlick Install Font on the right bottom to install it. When you click the link above, you can see the screen lik below. click the link below to go to the font download site. the question mark is shown up when the font is not set. To restart iTerm, you can see the screen like below. # Set name of the theme to load - if set to "random", it will # load a random theme each time oh-my-zsh is loaded, in which case, # to know which specific one was loaded, run: echo $RANDOM_THEME # See ZSH_THEME = "robbyrussell"Ĭhange the theme from ZSH_THEME="robbyrussell" to ZSH_THEME="powerlevel9k/powerlevel9k" and save it. Select Solarized Dark - ermcolors file you downloaded above. ![]() itermcolors.Ĭlick Profiles > Colors like above, and click Color Preset. push command + s to save it.īefore you download it, change to All Files on Format on the bottom. When you click the link above, you can see the theme file contents. in here, I’ll introduce how to set iterm2-solarized theme.Ĭlick the link below to download the theme. you can configure the theme what you want. insert /bin/zsh in Command on Command section on the right middle.Īfter it, restart iTerm. let’s set iTerm uses basically zsh.Įxecute iTerm and click iTerms2 > Preferences. ![]() ITerm’s default is to use the basic shell. If Mac asks you that you want to quit iTerm, click Quit Now to quit iTerm.Īfter installing, you can see the screen like below. go to Applications, and select iTerm and click Open. Select Privacy on the top tab, and click Full Disk Accesss on the left list.Ĭlick + button on the right side. click the lock shape on the left bottom, and insert your password to make editable. You can see the nice explanation and Security & Privacy is activated. If iTerm asks you Full Disk Access permission, click Open System Preferences on the right bottom. Unzip zip file you downloaded and install it. You can see the screen like below, click Stable Releases to download. In here, I’ll introduce how to configure iTerm and zsh on Mac.Ĭlick the link below to go to iTerm download page.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |