ladybird/Userland/Shell
Ali Mohammad Pur 7e4cc187d9 Shell: Implement program-aware autocompletion
A program can either respond to `--complete -- some args to complete`
directly, or add a `_complete_<program name>` invokable (i.e. shell
function, or just a plain binary in PATH) that completes the given
command and lists the completions on stdout.
Should such a completion fail or yield no results, we'll fall back to
the previous completion algorithm.
2022-03-26 21:34:56 +04:30
..
Tests Shell: Remove sigpipe.sh.out artefact after failure 2021-12-13 16:20:29 +03:30
AST.cpp Shell: Implement program-aware autocompletion 2022-03-26 21:34:56 +04:30
AST.h Shell: Implement program-aware autocompletion 2022-03-26 21:34:56 +04:30
Builtin.cpp Shell: Start history counter from 1 2022-02-22 21:26:25 +03:30
CMakeLists.txt Shell: Port to LibMain 2022-01-09 03:22:10 +03:30
Execution.h Shell: Use default constructors/destructors 2022-03-24 20:09:26 -07:00
Formatter.cpp Shell: Convert StringBuilder::appendf() => AK::Format 2021-05-07 21:12:09 +02:00
Formatter.h Everywhere: Pass AK::StringView by value 2021-11-11 01:27:46 +01:00
Forward.h Shell: Add support for heredocs 2021-04-29 20:25:56 +02:00
ImmediateFunctions.cpp Shell: Implement program-aware autocompletion 2022-03-26 21:34:56 +04:30
Job.cpp Everywhere: Use "the SerenityOS developers." in copyright headers 2021-04-29 00:59:26 +02:00
Job.h Shell: Hide job times behind SHELL_JOB_DEBUG flag 2021-05-21 12:05:34 +04:30
main.cpp Shell: Stop parsing options after the script name 2022-03-11 08:41:21 +03:30
NodeVisitor.cpp Shell: Add support for heredocs 2021-04-29 20:25:56 +02:00
NodeVisitor.h Shell: Add support for heredocs 2021-04-29 20:25:56 +02:00
Parser.cpp Shell: Allow completing StringLiterals as paths 2022-03-06 13:20:41 +01:00
Parser.h Everywhere: Pass AK::StringView by value 2021-11-11 01:27:46 +01:00
Shell.cpp Shell: Implement program-aware autocompletion 2022-03-26 21:34:56 +04:30
Shell.h Shell: Implement program-aware autocompletion 2022-03-26 21:34:56 +04:30
SyntaxHighlighter.cpp Shell: Use default constructors/destructors 2022-03-24 20:09:26 -07:00
SyntaxHighlighter.h Shell: Use default constructors/destructors 2022-03-24 20:09:26 -07:00