Make sure to load this module second to last, where the last module is prompt. syntax-highlighting - Adds syntax highlighting for commands to zsh.tmux - Adds support for starting tmux automatically at startup and some great aliases.rails - Adds some great aliases for working with Rails.ruby - Adds aliases for working with Ruby gems, RVM, rbenv, and Bundler.homebrew - Adds useful HomeBrew aliases.utility - Adds some great general-purpose aliases.Prezto also has themes and a fantastic selection of plugins (although Prezto calls them modules). After using it for the past several months, I’ve found it’s much faster than my oh-my-zsh setup. Prezto is a fork of oh-my-zsh that has been rewritten for speed. Before you do, though, you should see if Prezto is better suited for your needs.įrom the official Prezto repository: Prezto is the configuration framework for Zsh it enriches the command line interface environment with sane defaults, aliases, functions, auto completion, and prompt themes. If you’d like to go ahead and install oh-my-zsh, the official instructions can be found on their GitHub repository. tmuxinator - A plugin that adds completions for Tmuxinator, a tool I’ll be covering later in this post.Ī full list of plugins can be found here.tmux - A plugin that adds several options for effecting the startup behavior of tmux, my terminal multiplexer of choice.sublime - For those who prefer Sublime Text over Textmate, this plugin is great for opening files and directories in Sublime.textmate - A bunch of helper aliases for opening files and directories in my favorite editor, Textmate.osx - A plugin that adds a few aliases that interact with Finder.This plugin adds a few shortcuts for Bundler, including exec, update, and install. bundler - Occasionally I’ll have a Gemfile with my iOS projects to help manage any helper Ruby scripts I have, in addition to locking down a project to a specific version of CocoaPods.brew - A great auto-completion plugin for HomeBrew, the package manager for Mac OS X.github - A plugin that adds auto-complete to the github gem, which is super useful for interacting with GitHub from the command line.The git flow plugin adds a bunch of git extensions that take a few steps out of the process. git flow - I use the Git Flow branching model for git.This was my most used plugin when I was using oh-my-zsh. git - A great plugin that adds a bunch of fantastic aliases.When I was using oh-my-zsh, here were the plugins I used the most: The real power behind these frameworks comes from their plugins. Read more about how to decide between the two frameworks by scrolling down to the Choosing Between Oh-my-zsh and Prezto section. Note: I’ve since switched to Prezto, but oh-my-zsh is a fantastic framework worth mentioning. After using it for several years, I’ve found it to be very stable and easy to use. With over 120 optional plugins and 120 themes, oh-my-zsh is the largest Zsh framework. Oh-my-zsh is the first framework we’ll look at. Let’s take a look at two of the most popular Zsh frameworks: oh-my-zsh and prezto. I use this to display git information, but I’ve seen others use it for battery indicators. Zsh gives you the ability to add supplementary information to the right side of your prompt. If you spell something wrong, Zsh can sometimes suggest a correction and re-run the command for you. Not only are completions command-specific, Zsh also adds the ability to navigate the completion list by hitting. Here are some of the advantages of Zsh when compared to Bash: I chose to switch to Zsh because it has some fantastic community-driven frameworks available. There are very few differences between Bash, the default shell for Mac OS X, and Zsh for the average user. ZShell (Zsh) is a shell designed for interactive use, and can be used as a powerful command interpreter for shell scripting. You can find a complete list of features here. Hotkey Window that gives you an always-available Terminal window.ITerm 2 is a replacement for the Terminal app that ships with Mac OS X. I prefer to use the command line because I’m a fast typist and hate using the mouse, but everyone has their own opinion. Note: It should go without saying that there’s no right way to work. I’ll go over each of these tools and then show how they can be combined to improve your development workflow. In this post, we’ll cover some of the great tools available for streamlining your command line experience.Īfter some experimenting, I’ve found that using a combination of iTerm 2, Zsh, Prezto, Tmux, and Tmuxinator makes for an extremely productive setup. Whether you use it to bounce between projects or create complex scripts, getting familiar with the command line can drastically improve your workflow. Every developer can benefit from using the command line.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |