Files
tty7/assets/completions/rg.json
T
l0ng-ai 22e1ab1694 tty7: a GPU-rendered, daemon-backed terminal in pure Rust
tty7 is split into two Rust processes: a persistent daemon that owns the
shells and a GPU-rendered client that talks to it over a local socket.
Because the shells live in the daemon, quitting and reopening the app
leaves the session intact — detach and reattach, no tmux required.

- Persistent sessions — the daemon holds the PTYs and child processes, so
  closing a window or swapping in a new build never takes a shell down.
- Performance — an 11 MB `cat` completes in 95 ms and DOOM-fire renders at
  888 fps; the daemon drains the PTY at device speed off the render path.
- Shell-aware — new tabs and splits open in the current working directory;
  zsh, bash, fish, and PowerShell are set up automatically.
- Enhanced prompt — inline completion, syntax highlighting, history, and
  in-terminal search, with rich flag/subcommand signatures for common tools.
- Tabs, resizable splits, a command palette, click-to-open links, desktop
  notifications, eight themes, and CJK/IME input.

Native builds for macOS, Windows, and Linux.
Built on Zed's gpui and Alacritty's VT core.
2026-07-06 21:54:27 +08:00

1 line
21 KiB
JSON

{"description":"Recursively searches current directory for lines matching a pattern","options":[{"names":["-A","--after-context"],"description":"Shows NUM lines after each match","args":[{"name":"Num","description":null,"optional":false,"variadic":false,"template":[],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["--auto-hybrid-regex"],"description":"When this flag is used, ripgrep will dynamically choose between supported regex engines depending on the features used in a pattern","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-B","--before-context"],"description":"Shows NUM lines before each match","args":[{"name":"Num","description":null,"optional":false,"variadic":false,"template":[],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["--binary"],"description":"Enabling this flag will cause ripgrep to search binary files","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--block-buffered"],"description":"When enabled, ripgrep will use block buffering","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-b","--byte-offset"],"description":"Prints the 0-based byte offset within the input file before each line of output","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-s","--case-sensitive"],"description":"Search case sensitively","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--color"],"description":"Controls when to use colors","args":[{"name":"when","description":null,"optional":false,"variadic":false,"template":[],"suggestions":[{"names":["never"],"description":"Colors will never be used"},{"names":["auto"],"description":"Ripgrep tries to be smart"},{"names":["always"],"description":"Colors will always be used regardless of where output is sent"},{"names":["ansi"],"description":"Colors will always be used, but emits ANSI escapes"}],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["--colors"],"description":"Specifies color settings for use in the output","args":[{"name":"Color Spec","description":"{type}:{attribute}:{value}, ex: `match:fg:magenta`","optional":false,"variadic":true,"template":[],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["--column"],"description":"Shows column numbers for the first match on each line","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-C","--context"],"description":"Shows NUM lines before and after each match","args":[{"name":"NUM","description":null,"optional":false,"variadic":false,"template":[],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["--context-separator"],"description":"The string used to separate non-contiguous context lines in the output","args":[{"name":"Separator","description":null,"optional":false,"variadic":false,"template":[],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["-c","--count"],"description":"Suppresses normal output and shows the number of lines that match the given pattersns for each file searched","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--count-matches"],"description":"Suppresses normal output and shows the number of individual matches of the given patterns for each file searched","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--crlf"],"description":"Treats CRLF as a line terminator instead of just a line break","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--debug"],"description":"Shows debug messages","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--dfa-size-limit"],"description":"The upper size limit of the regex DFA","args":[{"name":"NUM","description":null,"optional":false,"variadic":false,"template":[],"suggestions":[],"generators":[]},{"name":"suffix","description":null,"optional":true,"variadic":false,"template":[],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["-E","--encoding"],"description":"Specifies the text encoding that ripgrep will use on all files searched","args":[{"name":"Encoding","description":null,"optional":false,"variadic":false,"template":[],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["--engine"],"description":"Specifies which regular expression engine to use","args":[{"name":"Engine","description":null,"optional":false,"variadic":false,"template":[],"suggestions":[{"names":["default"],"description":null},{"names":["pcre2"],"description":null},{"names":["auto"],"description":null}],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["-f","--file"],"description":"Searches for patterns from the given file, with one pattern per line","args":[{"name":"Patternfile","description":null,"optional":false,"variadic":true,"template":["filepaths"],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["--files"],"description":"Prints each file that would be searched without actually performing the search","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-l","--files-with-matches"],"description":"Only prints the paths with at least one match","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--files-without-match"],"description":"Only prints the paths that contains zero matches","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-F","--fixed-strings"],"description":"Treats the pattern as a literal string instead of a regular expression","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-L","--follow"],"description":"Follows symbolic links while traversing directories","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-g","--glob"],"description":"Includes or excludes files and directories for searching that match the given glob","args":[{"name":"GLOB","description":null,"optional":false,"variadic":true,"template":[],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["--glob-case-insensitive"],"description":"Processes glob patterns given with the -g/--glob flag","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--heading"],"description":"Prints the file path above clusters of matches from each file instead of printing the file path as a prefix for reach matched line","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--hidden"],"description":"Searches hidden files and directories","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--iglob"],"description":"Includes or excludes files and directories for searching that match given the glob","args":[{"name":"GLOB","description":null,"optional":false,"variadic":true,"template":["filepaths","folders"],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["--ignore-file"],"description":"Specifies a path to one or more .gitignore format rules files","args":[{"name":"Path","description":null,"optional":false,"variadic":true,"template":["filepaths"],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["--ignore-file-case-insensitive"],"description":"Process ignores files case insensitively","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--include-zero"],"description":"Prints the number of matchesfor each file when used with --count or --count matches","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-v","--invert-match"],"description":"Inverts matching","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--json"],"description":"Enables printing results in a JSON Lines format","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--no-json"],"description":"Disables the JSON Lines format","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--line-buffered"],"description":"Enables line buffering","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-n","--line-number"],"description":"Shows the line numbers (1-based)","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-x","--line-regexp"],"description":"Only shows matches surrounded by line boundaries","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-M","--max-columns"],"description":"Don't print lines longer than this limit in bytes","args":[{"name":"NUM","description":null,"optional":false,"variadic":false,"template":[],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["--max-columns-preview"],"description":"Completely replaces any line that is too long with a message indicating that a matching line was removed","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-m","--max-count"],"description":"Limits the number of matching lines per file searched to NUM","args":[{"name":"NUM","description":null,"optional":false,"variadic":false,"template":[],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["--max-depth"],"description":"Limits the depth of directory traversal to NUM levels beyond the paths given","args":[{"name":"NUM","description":null,"optional":false,"variadic":false,"template":[],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["--max-filesize"],"description":"Ignores files larger than NUM in size","args":[{"name":"NUM","description":null,"optional":false,"variadic":false,"template":[],"suggestions":[],"generators":[]},{"name":"Suffix","description":null,"optional":true,"variadic":false,"template":[],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["-mmap"],"description":"Searches using memory maps when possible","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-U","--multiline"],"description":"Enables matching across multiple lines","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--multiline-dotall"],"description":"Enables dot all in your regex pattern","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--no-config"],"description":"Never read configuration files","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-I","--no-filename"],"description":"Never prints the file path with the matched lines","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--no-heading"],"description":"Don't group matches by each file","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--no-ignore"],"description":"Don't respect ignore files (.gitignore, .ignore, etc.)","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--no-ignore-dot"],"description":"Don't respect .ignore files","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--no-ignore-excluded"],"description":"Don't respect ignore files that are manually configured for the repository","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--no-ignore-files"],"description":"Ignores any --ignore-file flags","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--no-ignore-global"],"description":"Don't respect ignore files that come from `global` sources","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--no-ignore-messages"],"description":"Suppresses all error messages related to parsing ignore files","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--no-ignore-parent"],"description":"Don't repsect ignore files in parent directories","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--no-ignore-vcs"],"description":"Don't respect version control ignore files","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-N","--no-line-number"],"description":"Suppress line numbers","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--no-messages"],"description":"Suppresses all error messages related to opening and reading files","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--no-map"],"description":"Never use memory maps, even when they might be faster","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--no-pcre2-unicode"],"description":null,"args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--no-require-git"],"description":"Will only respect global gitignore rules","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--no-unicode"],"description":"Turn off unicode","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--unicode"],"description":"Disables --no-unicode flag","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-0","--null"],"description":"Whenever a file path is printed, follow it with a NUL byte","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--null-data"],"description":"Uses NUL as a line terminator instead of the default line break","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--one-file-system"],"description":"Will not cross file system boundaries relative to where the search started from","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--no-one-file-system"],"description":"Disables `--one-file-system` flag","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-o","--only-matching"],"description":"Prints only the matched (non-empty) parts of a matching line, with each such part on a separate output line","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--passthru"],"description":"Prints both matching and non-matching lines","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--path-separator"],"description":"Sets the path separator to use when printing file paths","args":[{"name":"Separator","description":null,"optional":false,"variadic":false,"template":[],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["-P","--pcre2"],"description":"Usess the PCRE2 regex engine instead of its default regex engine","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--pcre2-version"],"description":"Prints the version of PCRE2 in use","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--pre"],"description":"For each input File, search the standard output of the command","args":[{"name":"Command","description":null,"optional":false,"variadic":false,"template":[],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["--pre-glob"],"description":"Only files that match the given set of globs will be handed to the command specified by the `--pre flag`","args":[{"name":"GLOB","description":null,"optional":false,"variadic":true,"template":[],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["-p","--pretty"],"description":"Convenience alias for `--color always --heading --line-number`","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-q","--quiet"],"description":"Do not print anything to stdout","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--regex-size-limit"],"description":"Sets the upper size limit of the compiled regex","args":[{"name":"NUM","description":null,"optional":false,"variadic":false,"template":[],"suggestions":[],"generators":[]},{"name":"Suffix","description":null,"optional":true,"variadic":false,"template":[],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["-e","--regexp"],"description":"A pattern to search for","args":[{"name":"Pattern","description":null,"optional":false,"variadic":true,"template":[],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["-r","--replace"],"description":"Replace every match with the text given when printing results","args":[{"name":"Replacement Text","description":null,"optional":false,"variadic":false,"template":[],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["-z","--search-zip"],"description":"Search in compressed files","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-S","--smart-case"],"description":"Searches case insensitively if the pattern is all lowercase","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--sort"],"description":null,"args":[{"name":"Sortby","description":null,"optional":false,"variadic":false,"template":[],"suggestions":[{"names":["none"],"description":"Do not sort results. Fastest. Can be multi-threaded"},{"names":["path"],"description":"Sort by file path, Always single-threaded"},{"names":["modified"],"description":"Sort by the last modified time on a file. Always single-threaded"},{"names":["accessed"],"description":"Sort by the last accessed time on a file. Always single-threaded"},{"names":["created"],"description":"Sort by the creation time on a file. Always single-threaded"}],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["--sortr"],"description":"Enables sorting results in descending order","args":[{"name":"Sortby","description":null,"optional":false,"variadic":false,"template":[],"suggestions":[{"names":["none"],"description":"Do not sort results. Fastest. Can be multi-threaded"},{"names":["path"],"description":"Sort by file path, Always single-threaded"},{"names":["modified"],"description":"Sort by the last modified time on a file. Always single-threaded"},{"names":["accessed"],"description":"Sort by the last accessed time on a file. Always single-threaded"},{"names":["created"],"description":"Sort by the creation time on a file. Always single-threaded"}],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["--stats"],"description":"Prints aggregate statistics about this ripgrep search","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-a","--text"],"description":"Searches binary files as if they were text","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-j","--threads"],"description":"The approximate number of threads to use","args":[{"name":"NUM","description":null,"optional":false,"variadic":false,"template":[],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["--trim"],"description":"All ASCII whitespace at the beginning of each line printed will be trimmed","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-t","--type"],"description":"Only searches files matching TYPE","args":[{"name":"Type","description":null,"optional":false,"variadic":true,"template":[],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["--type-add"],"description":"Add a new glob for a particular file type","args":[{"name":"Type Spec","description":null,"optional":false,"variadic":true,"template":[],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["--type-clear"],"description":"Clear the file type globs previously defined for type","args":[{"name":"type","description":null,"optional":false,"variadic":true,"template":[],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["--type-list"],"description":"Shows all supported file types and their corresponding globs","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-T","--type-not"],"description":"Do not search files matching type","args":[{"name":"type","description":null,"optional":false,"variadic":true,"template":[],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["-u","--unrestricted"],"description":"Reduce the level of smart searching, increase by adding `u`s, ex: -uuu","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--vimgrep"],"description":"Shows results with every match on its own line, including line numbers and column nnumbers","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-H","--with-filename"],"description":"Displays the file path for matches","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-w","--word-regexp"],"description":"Only shows the matches surrounded by word boundaries","args":[],"required":false,"repeatable":false,"hidden":false}],"args":[{"name":"Pattern","description":"A regular expression used for searching","optional":false,"variadic":false,"template":[],"suggestions":[],"generators":[]},{"name":"Path","description":"A file or directory to search","optional":true,"variadic":true,"template":["filepaths","folders"],"suggestions":[],"generators":[]}],"subcommands":[],"name":"rg"}