mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-22 14:43:55 +08:00
Use just options described in man page
This commit is contained in:
parent
e9d2bc9db1
commit
6608ddc95b
|
@ -1,7 +1,6 @@
|
|||
set -l options allexport notify noclobber errexit noglob trackall keyword monitor noexec privileged stdin nounset verbose markdirs xtrace
|
||||
complete -c oksh -a "+{a,b,C,e,f,h,i,k,l,m,n,p,r,u,v,X,x,o}"
|
||||
complete -c oksh -a "-{a,b,C,e,f,h,i,k,l,m,n,p,r,u,v,X,x,o}"
|
||||
complete -c oksh -s c
|
||||
complete -c oksh -s s
|
||||
|
||||
complete -c oksh -a "$options"
|
||||
complete -c oksh -s c -d 'Specify commands to run'
|
||||
complete -c oksh -s i -d 'Use interactive mode'
|
||||
complete -c oksh -s l -d 'Use login shell'
|
||||
complete -c oksh -s p -d 'Use privileged shell'
|
||||
complete -c oksh -s r -d 'Use restricted shell'
|
||||
complete -c oksh -s c -d 'Run commands from stdin'
|
||||
|
|
Loading…
Reference in New Issue
Block a user