Skip to content

Commit 5b457a2

Browse files
KuzinAndreyzyv
authored andcommitted
sh.syntax: move several commands to shell built-in
Next commands is built-in shell command, not posix program: $ type echo echo is a shell builtin $ type printf printf is a shell builtin $ type set set is a shell builtin Make other color for it. Signed-off-by: Kuzin Andrey <[email protected]> Signed-off-by: Yury V. Zaytsev <[email protected]>
1 parent e9590d5 commit 5b457a2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

misc/syntax/sh.syntax

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ wholechars abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-._
5353
keyword whole declare yellow
5454
keyword whole done yellow
5555
keyword whole do yellow
56+
keyword whole echo yellow
5657
keyword whole elif yellow
5758
keyword whole else yellow
5859
keyword whole esac yellow
@@ -63,9 +64,11 @@ wholechars abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-._
6364
keyword whole getopts yellow
6465
keyword whole if yellow
6566
keyword whole in yellow
67+
keyword whole printf yellow
6668
keyword whole read yellow
6769
keyword whole return yellow
6870
keyword whole select yellow
71+
keyword whole set yellow
6972
keyword whole shift yellow
7073
keyword whole source yellow
7174
keyword whole then yellow
@@ -246,7 +249,6 @@ wholechars abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-._
246249
keyword whole e2fsck cyan
247250
keyword whole e2image cyan
248251
keyword whole e2label cyan
249-
keyword whole echo cyan
250252
keyword whole ed cyan
251253
keyword whole edit cyan
252254
keyword whole editor cyan
@@ -599,7 +601,6 @@ wholechars abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-._
599601
keyword whole pr cyan
600602
keyword whole print cyan
601603
keyword whole printenv cyan
602-
keyword whole printf cyan
603604
keyword whole procmail cyan
604605
keyword whole prove cyan
605606
keyword whole ps cyan
@@ -667,7 +668,6 @@ wholechars abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-._
667668
keyword whole see cyan
668669
keyword whole sendmail cyan
669670
keyword whole seq cyan
670-
keyword whole set cyan
671671
keyword whole setfdprm cyan
672672
keyword whole setkeycodes cyan
673673
keyword whole setleds cyan

0 commit comments

Comments
 (0)