![]() This is where you can configure your zsh and oh-my-zsh to your liking. The ~/.zshrc is a script that will run everytime zsh start. and select the file you have just downloaded.įor Windows 10 users, I recommend using the new Terminal app for Windows released by Microsoft.zshrc This setting is where you adjust the look of your actual console (font family, font size, text color, background color, etc.).įor my exact profile, download this JSON file and import it into iTerm 2 using Other Actions. ITerm 2 > Preferences > Appearance > Theme: Minimal Profiles: This setting dictate how the app window will look. It supports a bunch more features than the default Terminal.app, but more importantly, richer color! Settings: Appearance cd into the downloaded folder and execute the installation script install.sh.įor macOS users, I recommend using iTerm 2, which you can download here.Clone/download the fonts from the official GitHub repo.Instructions on how to configure zsh on WSL 2 depends on the distro.įor Ubuntu based distro, you can use these commands to install zsh: It will allow you to run actual Linux shell on Windows. In the pop-up window, change the Login shell to /bin/zsh.įor Windows 10, I strongly recommend using WSL 2. Since macOS Catalina, Apple has replaced the default shell- bash shell-with zsh.įor users running older version of macOS, go to System Preferences > Users & Group then right click on your user then click Advance. 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 How I set up my Terminal (Oh-my-zsh + Powerline9k + iTerm 2)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |