Quellcode durchsuchen

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 vor 11 Jahren
Ursprung
Commit
a7d0b5122e
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1
    1
      dotfiles/bash/global-before.bashrc

+ 1
- 1
dotfiles/bash/global-before.bashrc Datei anzeigen

@@ -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