Pārlūkot izejas kodu

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 11 gadus atpakaļ
vecāks
revīzija
a7d0b5122e
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1
    1
      dotfiles/bash/global-before.bashrc

+ 1
- 1
dotfiles/bash/global-before.bashrc Parādīt failu

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