Explorar el Código

Fixed aegument passing error with git() bash wrapper

With calls like `git --version`, "--version" was passed to grep as its
own parameter.  This also affected git tab completion features.
Alois Mahdal hace 11 años
padre
commit
a7d0b5122e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      dotfiles/bash/global-before.bashrc

+ 1
- 1
dotfiles/bash/global-before.bashrc Ver fichero

@@ -9,7 +9,7 @@
9 9
 ### '''' ###
10 10
 
11 11
 git() {
12
-    if grep -Fwqs "$1" "$GIT_DISABLED_COMMANDS"; then
12
+    if grep -Fwqse "$1" "$GIT_DISABLED_COMMANDS"; then
13 13
         echo "You don't want this." >&2
14 14
         return 1
15 15
     else