mirror of
https://github.com/dcarrillo/prezto.git
synced 2025-06-14 20:41:44 +00:00
Cleaned up the plugins.
This commit is contained in:
@ -1,10 +1,10 @@
|
||||
#compdef github
|
||||
#autoload
|
||||
|
||||
# in order to make this work, you will need to have the github gem installed
|
||||
# The github-gem is neccessary for this completion to work.
|
||||
# http://github.com/defunkt/github-gem
|
||||
|
||||
# github zsh completion, based on homebrew completion
|
||||
# This completion is based on the Homebrew completion.
|
||||
|
||||
local -a _1st_arguments
|
||||
_1st_arguments=(
|
||||
@ -38,3 +38,4 @@ if (( CURRENT == 1 )); then
|
||||
_describe -t commands "github subcommand" _1st_arguments
|
||||
return
|
||||
fi
|
||||
|
||||
|
@ -1,6 +1,10 @@
|
||||
# hub alias from defunkt
|
||||
# Aliases
|
||||
|
||||
# Hub by defunkt
|
||||
# https://github.com/defunkt/hub
|
||||
if [ "$commands[(I)hub]" ]; then
|
||||
# eval `hub alias -s zsh`
|
||||
function git(){hub "$@"}
|
||||
if (( $+commands[hub] )); then
|
||||
function git() {
|
||||
hub "$@"
|
||||
}
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user