From f5c03227faf1d6a54c2db465189d14b1b144f13e Mon Sep 17 00:00:00 2001 From: EmilySeville7cfg Date: Sun, 27 Nov 2022 06:37:57 +1000 Subject: [PATCH] Add `csh` completion --- share/completions/csh.fish | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 share/completions/csh.fish diff --git a/share/completions/csh.fish b/share/completions/csh.fish new file mode 100644 index 000000000..a2a018f17 --- /dev/null +++ b/share/completions/csh.fish @@ -0,0 +1,21 @@ +complete -c csh -l help -d 'Display help and exit' +complete -c csh -l version -d 'Display version and exit' + +complete -c csh -s b -d 'Stop option processing' +complete -c csh -s c -d 'Specify commands' +complete -c csh -s d -d 'Load directory stack from ~/.cshdirs' +complete -c csh -s D -d 'Specify environment variable' +complete -c csh -s e -d 'Exit when exit status is not zero' +complete -c csh -s f -d 'Do not load resource and startup files' +complete -c csh -s F -d 'Use fork instead of vfork' +complete -c csh -s i -d 'Use interactive mode' +complete -c csh -s l -d 'Use login shell' +complete -c csh -s m -d 'Load ~/.tcshrc' +complete -c csh -s n -d 'Parse commands without executing' +complete -c csh -s q -d 'Accept SIGQUIT' +complete -c csh -s s -d 'Specify commands via stdin' +complete -c csh -s t -d 'Read and execute single input line' +complete -c csh -s v -d 'Set `verbose` shell variable' +complete -c csh -s x -d 'Set `echo` shell variable' +complete -c csh -s V -d 'Set `verbose` shell variable' +complete -c csh -s X -d 'Set `echo` shell variable'