VIS-COMPLETE(1)
π vis-complete(1) π
okay bestie, welcome to the General Commands Manual page for vis-complete(1) π this one is short, useful, and honestly kinda iconic.
πΈ NAME πΈ
vis-complete β interactively complete a file or a word, no cap π¦
β¨ SYNOPSIS β¨
vis-complete [--file | --word] [--] pattern
vis-complete -h | --help
π DESCRIPTION π
okay so here's the vibe: vis-complete takes a pattern from the command-line, completes a file or a word, and shows the matches in a menu so the user can pick one. Once the user has selected a completion, the completion β excluding the pattern β is printed to standard output. slay π
it uses vis-menu(1) as its user-interface, so go peek at that page for more details, iykyk π«Ά
π the flags & args, bestie π
--fileβ this passes pattern tofindto obtain a list of matching file names (this is the default) π₯--wordβ this reads standard input to obtain a list of lines matching pattern β¨--β an argument following this token will be treated as pattern, even if it would otherwise be a valid command-line option. If--is encountered after a previous instance of--, it is treated as a pattern πpatternβ the pattern to be completed by file or word πΈ-h|--helpβ if present,vis-completeprints a usage summary and exits, ignoring any other flag and arguments π
π¦ EXIT STATUS π¦
the vis-complete utility exits 0 on success, and >0 if an error occurs π
in particular, like vis-menu(1), vis-complete prints nothing and sets its exit status to 1 if the user refused to select a file. not me getting ignored by the menu π
π SEE ALSO π
go say hi to vis(1) and vis-menu(1) β they're right there in SEE ALSO, bestie π«Ά
π BUGS π
because vis-complete uses find(1) to obtain the list of files, weird things might happen if you have control-characters in your filenames. fr fr, control-characters in filenames = chaos vibes π
mwah π this whole page is Vis v0.9-531-gd89b6c27-dirty, dated March 21, 2023, and it's the VIS-COMPLETE(1) page β periodt π«Ά
π¦ where this page comes from
- arch rolling: vis 0.9.r531.gd89b6c27-1 Β· custom:ISC
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms