summary refs log tree commit diff
path: root/Completion/Unix/Command
diff options
context:
space:
mode:
authorm0viefreak <m0viefreak.cm@googlemail.com>2013-09-22 12:48:15 +0200
committerFrank Terbeck <ft@bewatermyfriend.org>2013-09-22 14:01:06 +0200
commit5f427b8245c783d6027af4720fd407f0b90e5c81 (patch)
treef5ed08f32d1902f92ca60324fe61862bf0d40149 /Completion/Unix/Command
parent27f9c515ff9e8d422ea4ae1571174c0b02540f7c (diff)
downloadzsh-5f427b8245c783d6027af4720fd407f0b90e5c81.tar.gz
zsh-5f427b8245c783d6027af4720fd407f0b90e5c81.tar.xz
zsh-5f427b8245c783d6027af4720fd407f0b90e5c81.zip
31741: _git: fix a wrong variable in __git_config_values
This probably was a copy/paste mistake.
Diffstat (limited to 'Completion/Unix/Command')
-rw-r--r--Completion/Unix/Command/_git2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index 98080403a..0697e3c7b 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -5920,7 +5920,7 @@ __git_config_values () {
   default=$2
   shift 2
   values=($*)
-  [[ -n $current ]] && values[(r)$(__git_pattern_escape $default):*]+=' (current)'
+  [[ -n $current ]] && values[(r)$(__git_pattern_escape $current):*]+=' (current)'
   values[(r)$(__git_pattern_escape $default):*]+=' (default)'
 
   _describe -t ${opts[-t]:-values} ${opts[-l]:-value} values