github.com/lmorg/murex@v0.0.0-20240217211045-e081c89cd4ef/utils/parser/safe.go (about) 1 package parser 2 3 // safeCmds is a list of all the functions considered safe when using tab 4 // autocomplete with ExecCmdline 5 var safeCmds = []string{ 6 "!", 7 "![", 8 "!and", 9 "!escape", 10 "!eschtml", 11 "!escurl", 12 "!match", 13 "!or", 14 "!regexp", 15 "!while", 16 "(", 17 "2darray", 18 "=", 19 "[", 20 "[[", 21 "a", 22 "alter", 23 "and", 24 "append", 25 "args", 26 "bexists", 27 "cast", 28 "catch", 29 "count", 30 "config", 31 "autocomplete", 32 "cpuarch", 33 "cpucount", 34 "debug", 35 "escape", 36 "esccli", 37 "eschtml", 38 "escurl", 39 "exitnum", 40 "f", 41 "false", 42 "fid-list", 43 "for", 44 "foreach", 45 "formap", 46 "format", 47 "g", 48 "get", 49 "get-type", 50 "getfile", 51 "history", 52 "if", 53 "ja", 54 "jsplit", 55 "left", 56 "man-summary", 57 "map", 58 "match", 59 "msort", 60 "mtac", 61 "murex-docs", 62 "murex-parser", 63 "null", 64 "open", 65 "open-image", 66 "or", 67 "os", 68 "out", 69 "prefix", 70 "prepend", 71 "pretty", 72 "rand", 73 "regexp", 74 "right", 75 "runtime", 76 "rx", 77 "struct-keys", 78 "suffix", 79 "ta", 80 "tabulate", 81 "time", 82 "tout", 83 "true", 84 "try", 85 "trypipe", 86 "version", 87 "while", 88 }