From f15e5ce1da53ede461dd4afc3caefae84894ec4a Mon Sep 17 00:00:00 2001 From: Emily Grace Seville Date: Sun, 27 Nov 2022 23:53:00 +1000 Subject: [PATCH] Add `yash` completion --- share/completions/yash.fish | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 share/completions/yash.fish diff --git a/share/completions/yash.fish b/share/completions/yash.fish new file mode 100644 index 000000000..9cae09043 --- /dev/null +++ b/share/completions/yash.fish @@ -0,0 +1,12 @@ +complete -c yash -l help -d 'Show help and exit' +complete -c yash -s V -l version -d 'Show version and exit' + +complete -c yash -s c -l cmdline -d 'Commands to run' +complete -c yash -s s -l stdin -d 'Read commands from stdin' +complete -c yash -s v -l verbose -d 'List optional features' +complete -c yash -s l -l login -d 'Use login shell' +complete -c yash -s i -l interactive -d 'Use interactive shell' +complete -c yash -l profile -d 'Load profile' +complete -c yash -l noprofile -d 'Do not load profile' +complete -c yash -l rcfile -d 'Load .rc file' +complete -c yash -l norcfile -d 'Do not load .rc file'