Add language code_bash (#2238) by em1lyy

This language file includes standard POSIX shell keywords, common GNU
bash extension keywords and some commonly used shell commands.
This commit is contained in:
Emily 2022-01-03 12:19:15 +01:00 committed by GitHub
parent cdaec05066
commit a0e607497a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 238 additions and 1 deletions

View file

@ -262,7 +262,8 @@
"code_rust",
"code_ruby",
"code_r",
"code_swift"
"code_swift",
"code_bash"
]
},
{

View file

@ -151,6 +151,7 @@
,"code_ruby"
,"code_r"
,"code_swift"
,"code_bash"
,"hindi"
,"hindi_1k"
,"macedonian"

View file

@ -0,0 +1,235 @@
{
"name": "code_bash",
"leftToRight": true,
"noLazyMode": true,
"words": [
"ls",
"cd",
"mv",
"cp",
"pwd",
"man",
"help",
"head",
"tail",
"cat",
"less",
"nano",
"ed",
"vi",
"vim",
"emacs",
"more",
"touch",
"rm",
"rmdir",
"mkdir",
"ln",
"tree",
"df",
"du",
"dd",
"ps",
"top",
"htop",
"passwd",
"logout",
"exit",
"adduser",
"useradd",
"bash",
"sh",
"ksh",
"csh",
"mksh",
"cc",
"gcc",
"clang",
"cmake",
"make",
"gmake",
"ar",
"as",
"nasm",
"chmod",
"chown",
"ld",
"lld",
"gold",
"rpm",
"apt",
"zypper",
"dnf",
"yum",
"pacman",
"yay",
"dpkg",
"init",
"systemctl",
"rc",
"service",
"reboot",
"halt",
"shutdown",
"if",
"then",
"fi",
"else",
"elif",
"case",
"esac",
"for",
"select",
"while",
"until",
"do",
"done",
"in",
"function",
"time",
"{",
"}",
"!",
"[",
"[[",
"]]",
"coproc",
".",
":",
"source",
"alias",
"bg",
"fg",
"bind",
"break",
"builtin",
"caller",
"command",
"compgen",
"complete",
"compopt",
"continue",
"declare",
"export",
"disown",
"echo",
"enable",
"eval",
"exec",
"false",
"true",
"fc",
"getopts",
"hash",
"history",
"let",
"jobs",
"kill",
"local",
"popd",
"pushd",
"print",
"printf",
"pwd",
"read",
"readarray",
"readonly",
"return",
"select",
"set",
"shopt",
"chsh",
"time",
"trap",
"type",
"ulimit",
"umask",
"unalias",
"unset",
"variables",
"wait",
"btrfsck",
"dosfsck",
"e2fsck",
"finger",
"grep",
"find",
"fsck",
"fsck.btrfs",
"fsck.cramfs",
"fsck.exfat",
"fsck.ext2",
"fsck.ext3",
"fsck.ext4",
"fsck.fat",
"fsck.jfs",
"fsck.minix",
"fsck.msdos",
"fsck.reiserfs",
"reiserfsck",
"fsck.vfat",
"fsck.xfs",
"python",
"python3",
"pip",
"pip3",
"ruby",
"irb",
"elixir",
"iex",
"curl",
"wget",
"ssh",
"scp",
"neofetch",
"pfetch",
"ufetch",
"telnet",
"nc",
"ffmpeg",
"mpv",
"vlc",
"ffproble",
"mplayer",
"ip",
"ifconfig",
"strings",
"perl",
"sudo",
"su",
"lsusb",
"lsblk",
"dmesg",
"fdisk",
"cfdisk",
"date",
"cal",
"dkms",
"arch",
"cnf",
"killall",
"pgrep",
"git",
"wc",
"gpg",
"locate",
"updatedb",
"tar",
"pactl",
"aplay",
"arecord",
"alsamixer",
"gzip",
"gunzip",
"bzip2",
"bunzip2",
"xz",
"unxz",
"zstd",
"mkinitrd",
"mkinitcpio",
"pacmd",
"free",
"node"
]
}