Skip to content

Instantly share code, notes, and snippets.

@dannysmith
Last active April 17, 2016 17:56
Show Gist options
  • Select an option

  • Save dannysmith/ea39e12c9728147ef20bdaa87e7eefd3 to your computer and use it in GitHub Desktop.

Select an option

Save dannysmith/ea39e12c9728147ef20bdaa87e7eefd3 to your computer and use it in GitHub Desktop.
Details of oh-my-zsh plugins installed by Danny.

brew

Maintainer: robbyrussell

[[Homebrew|http://mxcl.github.com/homebrew/]] is an OS X package manager

This plugin:

  • creates a brews alias to list installed brews (= brew list -1)
  • adds completion for the brew command.

git

Maintainers: @Stibbons, @ncanceill

Adds a lot of git aliases and functions for pulling for dealing with the current branch. See the dedicated Wiki page, or a list of some of the aliases introduced here (OUTDATED).


git-extras

Maintainer: agrimaldi

git-extras - Support for git-extras completion

Pressing tab after the various commands should autofill authors, branches and tags depending on context.

Command Description
git changelog [-l/--list] populate changelog file with commits since the previous tag
git contrib display author contributions
git count [--all] count commits
git delete-branch delete local and remote branch
git delete-submodule delete submodule
git delete-tag delete local and remote tag
git extras [-v/--version] git-extras
git graft merge commits from source branch to destination branch
git squash merge commits from source branch into the current one as a single commit
git feature [finish] create a feature branch
git refactor [finish] create a refactor branch
git bug [finish] create a bug branch
git summary repository summary
git effort [--above] display effort statistics
git repl read-eval-print-loop
git commits-since list commits since a given date
git release release commit with the given tag
git alias define, search and show aliases
git ignore add patterns to .gitignore
git info show info about the repository
git create-branch create local and remote branch
git fresh-branch create empty local branch
git undo remove the latest commit
git setup setup a git repository
git touch one step creation of new files
git obliterate Completely remove a file from the repository, including past commits and tags
git local-commits list unpushed commits on the local branch

github

Maintainer: robbyrussell

  • github - adds autocomplete to the github gem, which is installable via gem install github

bundler

Maintainer: robbyrussell

Enables aliases to Bundler.

Alias Description
be Bundle exec, execute a command in the context of the bundle
bi Bundle install
bu Bundle update

Also creates shell aliases so you don't have to type "bundle exec" before most common ruby commands when you are in a directory with a Gemfile. Here is a list of commands it does this for: annotate cap capify cucumber ey foreman guard heroku middleman nanoc rackup rainbows rails rake rspec ruby shotgun spec spork thin thor unicorn unicorn_rails


osx

Maintainers: robbyrussell sorin-ionescu

Command Description
tab open the current directory in a new tab
pfd return the path of the frontmost Finder window
pfs return the current Finder selection
cdf cd to the current Finder directory
pushdf pushd to the current Finder directory
quick-look quick Look a specified file
man-preview open a specified man page in Preview

last-working-dir

Maintainer: op

Keeps track of the last used directory and automatically jumps to it for new shells. Similar to how many terminal emulators does it.

Command Description
lwd Jump to last working directory (automatically called for new shells)

ruby

Maintainer: robbyrussell

Alias Command
rfind find . -name "*.rb" | xargs grep -n
sgem sudo gem

gem

Maintainer: robbyrussell

  • gem - completion plugin for the gem command

npm

Maintainer: robbyrussell

  • npm - adds autocompletion to npm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment