Add support for -s switch to read builtin, enables shell syntax highlighting in the read builtin

darcs-hash:20070129162624-ac50b-dff9d9ebf16ce3247b83d917efbffd4942cda83f.gz
This commit is contained in:
axel
2007-01-30 02:26:24 +10:00
parent c02e2b1320
commit ba932b6590
5 changed files with 29 additions and 9 deletions

View File

@@ -6,3 +6,5 @@ complete -c read -s l -l local --description "Make variable scope local"
complete -c read -s U -l universal --description "Make variable scope universal, i.e. share variable with all the users fish processes on this computer"
complete -c read -s u -l unexport --description "Do not export variable to subprocess"
complete -c read -s m -l mode-name --description "Name to load/save history under" -r -a "read fish"
complete -c read -s c -l command --description "Initial contents of read buffwhen reading interactively"
complete -c read -s s -l shell --description "Use syntax highlighting, tab completions and command termination suitable for entering shellscript code"