diff options
Diffstat (limited to 'lib/lexers/bash.tes')
-rw-r--r-- | lib/lexers/bash.tes | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/lib/lexers/bash.tes b/lib/lexers/bash.tes new file mode 100644 index 0000000..80a3bbb --- /dev/null +++ b/lib/lexers/bash.tes @@ -0,0 +1,42 @@ +! Unix Shell + It's called bash.tes only because SciTE calls it this way + internally ! + +@[lexer.test.bash]{ [_ + _#!M[sh,bash,ksh]M[lexer.checkheader]"S + -1 + | + _[.sh,.bsh,configure,.ksh]M[lexer.checkname] + ' +]_ } + +@[lexer.set.bash]{ + ESSETLEXER,SCLEX_BASH + 0ESSETKEYWORDS + alias ar asa awk banner basename bash bc bdiff break bunzip2 bzip2 cal + calendar case cat cc cd chmod cksum clear cmp col comm compress continue cp cpio + crypt csplit ctags cut date dc dd declare deroff dev df diff diff3 dircmp dirname + do done du echo ed egrep elif else env esac eval ex exec exit expand export + expr false fc fgrep fi file find fmt fold for function functions getconf getopt + getopts grep gres hash head help history iconv id if in integer jobs join kill local + lc let line ln logname look ls m4 mail mailx make man mkdir more mt mv newgrp + nl nm nohup ntps od pack paste patch pathchk pax pcat perl pg pr print printf + ps pwd read readonly red return rev rm rmdir sed select set sh shift size sleep + sort spell split start stop strings strip stty sum suspend sync tail tar tee test + then time times touch tr trap true tsort tty type typeset ulimit umask unalias + uname uncompress unexpand uniq unpack unset until uudecode uuencode vi vim vpax + wait wc whence which while who wpaste wstart xargs zcat chgrp chown chroot dir + dircolors factor groups hostid install link md5sum mkfifo mknod nice pinky printenv + ptx readlink seq sha1sum shred stat su tac unlink users vdir whoami yes + :M[color.error],1M[color.set] + :M[color.comment],2M[color.set] + :M[color.number],3M[color.set] + :M[color.keyword],4M[color.set] + :M[color.string],5M[color.set] + :M[color.string],6M[color.set] + :M[color.operator],7M[color.set] + :M[color.target],8M[color.set] ! Identifiers, e.g. FOO=... ! + :M[color.variable],9M[color.set] + :M[color.variable],10M[color.set] + :M[color.string2],11M[color.set] ! Backticks ! +} |