From 9d62c20c5287108e1243acf90fbede37dce17408 Mon Sep 17 00:00:00 2001 From: David Pursehouse Date: Fri, 27 Sep 2013 10:18:30 +0900 Subject: [PATCH] Improve the bash completion script installation instructions Change-Id: I186fe3a080ef7c8cd06752e5766f506dd56d2e1b --- contrib/bash_completion | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/contrib/bash_completion b/contrib/bash_completion index 4c4a01f6fe..677223511d 100644 --- a/contrib/bash_completion +++ b/contrib/bash_completion @@ -39,7 +39,12 @@ # Installing # ========== # -# To install the completion, point to this file from your .bash_profile, like so: +# To install the completion, copy this file to the appropriate folder for +# your distribution, for example: +# +# cp ~/path/to/bash_completion /etc/bash_completion.d/gerrit_sh +# +# Alternatively you can invoke this file from your .bash_profile, like so: # # . ~/path/to/bash_completion # @@ -50,7 +55,8 @@ # Uninstalling # ============ # -# To uninstall, just remove the line from your .bash_profile and .bashrc. +# To uninstall, just remove the file from the bash completion folder, or +# remove the line from your .bash_profile and .bashrc. # ######################################################################### _gerrit_sh()