Quellcode durchsuchen

'main': Update $this_word state with our inferences.

Found by code inspection.
pull/550/head
Daniel Shahaf vor 6 Jahren
committed von Matthew Martin
Ursprung
Commit
005179ed8e
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  1. +1
    -0
      highlighters/main/main-highlighter.zsh

+ 1
- 0
highlighters/main/main-highlighter.zsh Datei anzeigen

@ -592,6 +592,7 @@ _zsh_highlight_main_highlighter_highlight_list()
# Not an option flag; nothing to do. (If the command line is
# syntactically valid, ${this_word//:sudo_opt:/} should be
# non-empty now.)
this_word=${this_word//:sudo_opt:/}
fi
elif [[ $this_word == *':sudo_arg:'* ]]; then
next_word+=':sudo_opt:'

Laden…
Abbrechen
Speichern