Good terminal will not make you a 10x developer…but you may feel like one.
I would show following things in this article:
- How to install iterm2
- How to install oh-my-zsh
- How to set themes for your oh-my-zsh
- How to get the right color theme
- How to configure oh-my-zsh and use some useful plugin and some examples.
You get what I mean.
Run the following script in your terminal。
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
In this step you need to modify your oh-my-zsh configuration file, which is
.zshrc under your user root directory.
.zshrc by following command
Or if you are not familiar with VIM, use
nano or anything you normally use to edit a file.
Change the configuration item
ZSH_THEME at line 11 to:
Since the agnoster is the one I am using currently and really useful one. You could also set it as the one you like.
Agnoster depends on the powerline fonts, you could for the install instruction there.
After you installed the font, change the font setting in preference-profiles-Text-font.
Get the .itermcolors file from web, mine is Dracula.
Then change the color setting in preference-profiles-colors-color presets.
You could change the plugin settings in
~/.zshrc. I am currently using:
Some of them are pre-installed, and some of them need to be installed manually, you could find all the plugins and introductions here, I would like to introduce some useful plugins for me.
it allows you to edit you command line as in vim, which is extremely helpful when you are dealing some very long command and you need to debug it frequently, as long as you know how to use vim
it is preinstalled, so all you need to do to add it is just to type z into
pluginsin your setting file. It would remember all the path you visited and you could jump the any path you visited by typing part of the directory name.