1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-30 03:47:35 +00:00

Meta: Add basic Zsh completions for serenity.sh

This patch adds a basic Zsh completion script for the commands and
targets provided by Meta/serenity.sh. There's some room for improvement
here, e.g. we could provide completion for available CMake targets -
currently completion stops after serenity.sh <command> <target>.

You can enable it by adding this to your .zshrc before completions are
loaded:

    fpath=($SERENITY_SOURCE_DIR/Meta/ShellCompletions/zsh $fpath)
This commit is contained in:
Linus Groh 2021-04-22 08:43:36 +02:00
parent a5625686cb
commit 696f23d7a0
2 changed files with 64 additions and 0 deletions

1
.gitignore vendored
View file

@ -4,6 +4,7 @@
!Makefile
!LICENSE
!Base/**
!Meta/ShellCompletions/**
*.o
*.ao