diff options
author | Michael Okner <mike@mikeokner.com> | 2015-06-13 08:59:10 -0500 |
---|---|---|
committer | Michael Okner <mike@mikeokner.com> | 2015-06-13 08:59:10 -0500 |
commit | 3d670c0bfc00858aff67f6b4dc161f4c0a0a5aef (patch) | |
tree | b1f8df149d95980f00a2ab5de6e100914a53c179 | |
parent | 9eaf51107f15011f73b39fb727895f65797edcbc (diff) | |
download | zsh-3d670c0bfc00858aff67f6b4dc161f4c0a0a5aef.tar.gz zsh-3d670c0bfc00858aff67f6b4dc161f4c0a0a5aef.tar.bz2 zsh-3d670c0bfc00858aff67f6b4dc161f4c0a0a5aef.zip |
Adding quotes to git completion discovery path
Previously, spaces in the path would result in wto separate errouneous
paths being parsed. This fixes that issue.
-rw-r--r-- | plugins/gitfast/_git | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/gitfast/_git b/plugins/gitfast/_git index 6b7796857..c75b0be7f 100644 --- a/plugins/gitfast/_git +++ b/plugins/gitfast/_git @@ -30,7 +30,7 @@ if [ -z "$script" ]; then local -a locations local e locations=( - $(dirname ${funcsourcetrace[1]%:*})/git-completion.bash + "$(dirname ${funcsourcetrace[1]%:*})/git-completion.bash" '/etc/bash_completion.d/git' # fedora, old debian '/usr/share/bash-completion/completions/git' # arch, ubuntu, new debian '/usr/share/bash-completion/git' # gentoo |