Zsh has been pursuing an interactive shell developer experience widely accepted. Although I became a late developer in the group one, but I hope you'll join the ranks. Ever since I first login shell, I began to learn bash profile. I organize auto-completion, aliases, and functions, which helps to quickly complete repetitive tasks. When Zsh became popular, the focus of blog and comment on the bash configuration file has been configured features. I remained unconvinced. Until I read oh-my-zsh related content. The project Zsh default configuration properties, and there are useful online guide. As a latecomer, I immediately convert shell Michael Kors Bedford Logo Large Gold Crossbody Bags to convince myself to write this article as a starting point. Background If you are familiar with Bash, fear of losing knowledge has been accumulated. So, do not worry, 99% of Bash operation is still applicable to Zsh. You can change the shell without having to lose the accumulated knowledge. This guide uses the latest 5.0.2 version as of this date of Zsh and oh-my-zsh. From basic installation begins, I would not have changed anything. When you see in the example \u0026 lt; TAB \u0026 gt; string that represents pressing Michael Kors Outlet the tab key, instead of entering the string. 'Cd' command to automatically fill the entire Let's start with a common task. Change directory humble instruction. When you press in Bash \u0026 lt; TAB \u0026 gt; key, you will see a list of files in the current directory. In this case, cd command is not particularly useful, because you can only enter the directory. Zsh know this and will give you the possibility of showing a valid target. Not only does it help you match, but also allows you to use the keyboard to navigate to the directory you want next. TAB auto-completion and use the keyboard to modulate the binding option is easy to use Zsh core. 'Ls' command autocomplete you do not have to enter an entire directory name, only a few can enter the initial letters only difference with other directories, Zsh will automatically match the remaining portion. Like magic! Smart history you may be familiar with \u0026 lt; CTRL \u0026 gt; + R recursive lookups usage history command. In Bash and Zsh, this is a good way to reuse the command. Zsh to be superior. You can enter part of the Michael Kors Bedford Gusset Medium Blue Crossbody Bags command and press \u0026 lt; UP \u0026 gt; key. It will find the history of the last instruction in 'ls' beginning. If necessary, we can continue to click the up button to cycle through. Command history shared in Bash, every shell has its own history. Zsh shell and all existing shared command history. This Michael Kors Crossbody Bags means you do not have to remember where you enter through the commands. Expand environment variables in the shells can be accessed using environment variables. Sometimes, we want to change the values of these variables, or just view them. In Zsh, you can press \u0026 lt; TAB \u0026 gt; key to Michael Kors Bedford Logo Monogram Large Coffee Totes expand these values. Process Shutdown Michael Kors Bedford Logo Large Purple Crossbody Bags command auto-completion Often, I will use the ps command to check the Michael Kors Bedford Logo Large Purple Crossbody Bags process using the kill command value, or if it is clear you can use pkill, Zsh gives you another option. Hitting the tab key, you will get a list of available keyboard navigation commands, the list begins with the characters you entered after the kill command. What are the options? To find out how to work a command, usually you will try to execute it, or without parameters, Michael Kors Bedford Logo Large Black Crossbody Bags with the -help parameter or view the help page. Zsh gives you another option. Enter the start options, then click \u0026 lt; TAB \u0026 gt ;. The operation will include a description of the inline options have names. You can also choose to use the keyboard to navigate. This is not limited to the ls command. The same applies to a large number of like netstat, git and chmod command so confusing. Git improvements Everyone has their favorite git command aliases. oh-my-zsh also a large number of aliases. When entering git control directory, it also gives you tips to improve. You can see where I branch name, the little lightning bolt symbol is suggestive of uncommitted changes under my current directory. On an instruction execution failed you may have noticed in the screenshot tips at the beginning of the green arrow. This indicates that the previous command has been executed correctly. If the command Michael Kors Bedford Signature Large White Totes fails, then before the next instruction is executed correctly this prompt will turn red. File name generation in Bash, I often use the find command and the xargs together to find and use them to complete the task. Zsh built-in globbing support covers most of the application scenarios. Suppose we need to acceptance of the project, only to Michael Kors Berkley Logo Large Black Clutches find out today is changed files. We can add parameters to restrict the search portion of Michael Kors Bedford Logo Large Gold Crossbody Bags the ls command to filter out what we want. Another handy trick is to use **, which is a recursive search. What position in the current directory can be found Rakefile instances? Let us use the modifier to recursive lookups over 20mb file. Not limited to the use of the ls command. How many lines of code using Clojure in this project? Suppose we want to recursively delete the project most of Clojure files. Ok. I'm pretty sure of this. So, Michael Kors Bedford Large Orange Shoulder Bags let us press the tab key to list all files in detail. Do you mean to Michael Kors Bedford Large Orange Shoulder Bags say that this is not it? Sometimes we forget the file Michael Kors Bedford Logo Medium Black Satchels name, or mistakenly lose the middle part of the file name rather than starting from scratch. Zsh know we make a mistake, and it will be automatically corrected. Zsh AutoCorrect. Useful Michael Kors Clutches aliases and alias git Like, oh-my-zsh also has a lot of useful common alias. I like to use ... to jump two directories. Settings tab running processes processes running the same name and is useful when you want to know the circumstances under which the server is running, the label name changed. Edit long commands in Vim use \u0026 lt; CTRL \u0026 gt; + K to delete the character such shortcuts, you can edit long commands in Bash and Zsh in. However, there are times when you want a more powerful editor to edit commands. Whenever this happens, click on the \u0026 lt; CTRL \u0026 gt; + X \u0026 lt; CTRL \u0026 gt; + E input to the current command in $ EDITOR. Familiar with the $ EDITOR. We can edit the command, save and exit to return to the terminal. Your favorite tools plug oh-my-zsh has a comprehensive list of plugins you may use the tool. I use a rake plugin, which allows you to enter commands from Rakefile available in rake. Double-click \u0026 lt; TAB \u0026 gt; into the keyboard to navigate the list. Is not that great? Until recently I did not realize how useful Zsh is an interactive shell. Reason had to replace the shell is as follows: Various Tab completion and navigation vibrant community of plug-ins to provide a reasonable benchmark for our dotfile. Bash learned you 99% still apply. Tab complete and navigate all the thingsA vibrant plugin community providing a sensible baseline for our dotfiles99% of what you know from Bash still works you're ready to use the chsh command to modify the shell configuration it?About Zsh, those features my favorite