Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Git autocomplete on steroids with this fix

  • Loading branch information...
commit abd614d09aca39ba29012e944a18ae13e21da16a 1 parent 89fe723
@kyriacos authored
Showing with 6 additions and 3 deletions.
  1. +6 −3 zshrc
View
9 zshrc
@@ -1,6 +1,3 @@
-# shortcut to this $ZSH path is $ZSH
-export ZSH=~/.zsh
-
. $ZSH/config
. $ZSH/prompt
. $ZSH/aliases
@@ -17,6 +14,12 @@ set -o emacs # or vi if you prefer
# keep this here as a fix for rake
alias rake='noglob rake'
+# http://talkings.org/post/5236392664/zsh-and-slow-git-completion
+# superfly tnt git autocomplete
+__git_files () {
+ _wanted files expl 'local files' _files
+}
+
# print current directory to title bar
# osx lion now uses that when opening new
# terminal window or tab
Please sign in to comment.
Something went wrong with that request. Please try again.