|
49 | 49 | "history" "fc" |
50 | 50 | "compgen" "complete" |
51 | 51 | "times" |
52 | | - "git" "ssh" "scp" "rsync" ;;常用外部命令 |
| 52 | + ) |
| 53 | + (external_command |
| 54 | + "ssh" "scp" "rsync" ;; 常用外部命令 |
53 | 55 | "curl" "wget" |
54 | 56 | "xmake" "cmake" "make" "ninja" |
55 | 57 | "gcc" "g++" "clang" "clang++" |
|
59 | 61 | "tar" "zip" "unzip" |
60 | 62 | "grep" "sed" "awk" |
61 | 63 | "jq" |
62 | | - "vim" "nvim" |
63 | | - "sudo") |
64 | | - |
| 64 | + "sudo" |
| 65 | + "claude" "ll" "gh" "code" "gco" |
| 66 | + ;; Git / GitHub |
| 67 | + "git" "gh" |
| 68 | + "gco" "gcb" "gcm" "gca" "gcp" "gst" "gpl" "gps" |
| 69 | + ;; Editor / AI |
| 70 | + "code" "code-insiders" "vim" "nvim" |
| 71 | + "claude" "cursor" "zed" |
| 72 | + ;; Common shell aliases |
| 73 | + "ll" "la" "l" |
| 74 | + ;; GNU coreutils |
| 75 | + "arch" "basename" "b2sum" "base32" "base64" "basenc" |
| 76 | + "cat" "chcon" "chgrp" "chmod" "chown" "chroot" |
| 77 | + "cksum" "comm" "cp" "csplit" "cut" "date" "dd" |
| 78 | + "df" "dir" "dircolors" "dirname" "du" |
| 79 | + "env" "expand" "expr" "factor" "false" "fmt" "fold" |
| 80 | + "groups" "head" "hostid" "id" "install" |
| 81 | + "join" "link" "ln" "logname" "ls" "md5sum" |
| 82 | + "mkdir" "mkfifo" "mknod" "mktemp" "mv" |
| 83 | + "nice" "nl" "nohup" "nproc" "numfmt" "od" |
| 84 | + "paste" "pathchk" "pinky" "pr" "printenv" "ptx" |
| 85 | + "readlink" "realpath" "rm" "rmdir" "runcon" |
| 86 | + "seq" "sha1sum" "sha224sum" "sha256sum" "sha384sum" "sha512sum" |
| 87 | + "shred" "shuf" "sleep" "sort" "split" "stat" |
| 88 | + "stdbuf" "stty" "sum" "sync" "tac" "tail" |
| 89 | + "tee" "timeout" "touch" "tr" "true" "truncate" |
| 90 | + "tsort" "tty" "uname" "unexpand" "uniq" "unlink" |
| 91 | + "uptime" "users" "vdir" "wc" "who" "whoami" "yes") |
65 | 92 | ;; 关键字 |
66 | 93 | (keyword |
67 | 94 | "if" "then" "elif" "else" "fi" |
|
154 | 181 | ("syntax:bash:constant_string" "dark grey" notify-bash-syntax) |
155 | 182 | ("syntax:bash:constant_char" "#333333" notify-bash-syntax) |
156 | 183 | ("syntax:bash:declare_function" "#0000c0" notify-bash-syntax) |
| 184 | + ("syntax:bash:external_command" "#0000c0" notify-bash-syntax) |
157 | 185 | ("syntax:bash:declare_type" "#0000c0" notify-bash-syntax) |
158 | 186 | ("syntax:bash:operator" "#8b008b" notify-bash-syntax) |
159 | 187 | ("syntax:bash:operator_openclose" "#B02020" notify-bash-syntax) |
|
0 commit comments