Permalink
Browse files

Updated install instructions.

  • Loading branch information...
1 parent c5b5841 commit b20e97aae8239df5051ec36aabe970e1780763ad @bobthecow committed Apr 26, 2010
Showing with 17 additions and 5 deletions.
  1. +17 −5 git-flow-completion.bash
View
@@ -5,24 +5,36 @@
# Copyright (c) 2010 Justin Hileman (http://justinhileman.com)
# Distributed under the MIT License (http://creativecommons.org/licenses/MIT/)
#
+#
# The contained completion routines provide support for completing:
#
# * git-flow init and version
# * feature, hotfix and release branches
# * remote feature branch names (for `git-flow feature track`)
#
-# To use these routines:
#
-# 0. Install git-completion
+# To achieve git-flow completion nirvana:
+#
+# 0. Install git-completion.
+#
+# 1. Install this file. Either:
+#
+# a. Place it in a `bash-completion.d` folder:
#
-# 1. Copy this file to somewhere (e.g. ~/.git-flow-completion.sh).
+# * /etc/bash-completion.d
+# * /usr/local/etc/bash-completion.d
+# * ~/bash-completion.d
#
-# 2. Added the following line to your .bashrc:
-# source ~/.git-flow-completion.sh
+# b. Or, copy it somewhere (e.g. ~/.git-flow-completion.sh) and put the following line in
+# your .bashrc:
+#
+# source ~/.git-flow-completion.sh
#
# 3. Edit git-completion.sh and add the following line to the giant $command case in _git:
+#
# flow) _git_flow ;;
#
+#
# Requirement 3 will go away as soon as I figure out how to properly (and predictably) hijack
# the `complete -F` ownership for `git` without breaking regular `git-completion`...

0 comments on commit b20e97a

Please sign in to comment.