mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-10 15:14:44 +00:00
Use just options described in man page
This commit is contained in:
parent
e9d2bc9db1
commit
6608ddc95b
1 changed files with 6 additions and 7 deletions
|
@ -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 a new issue