소스 검색

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

Found by code inspection.
pull/550/head
Daniel Shahaf 6 년 전
committed by Matthew Martin
부모
커밋
005179ed8e
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. +1
    -0
      highlighters/main/main-highlighter.zsh

+ 1
- 0
highlighters/main/main-highlighter.zsh 파일 보기

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

불러오는 중...
취소
저장