Add rc completion

This commit is contained in:
EmilySeville7cfg 2022-11-27 07:13:39 +10:00 committed by Peter Ammon
parent 55a06f8087
commit 14f4f3d192

12
share/completions/rc.fish Normal file
View File

@ -0,0 +1,12 @@
complete -c rc -s c -d "Commands to execute"
complete -c rc -s d -d "Do not ignore SIGQUIT or SIGTERM"
complete -c rc -s e -d "Exit on command failure"
complete -c rc -s i -d "Use interactive mode"
complete -c rc -s I -d "Do not interactive mode"
complete -c rc -s l -d "Use login shell"
complete -c rc -s n -d "Do not execute commands, just parse them"
complete -c rc -s o -d "Do not allow open /dev/null on 0, 1, 2 descriptors"
complete -c rc -s p -d "Do not initialize from environment"
complete -c rc -s s -d "Read from stdin"
complete -c rc -s v -d "Echo input to stderr"
complete -c rc -s x -d "Echo command to stderr"