Add available options for [-+]o option for ksh

This commit is contained in:
EmilySeville7cfg 2022-11-27 06:53:03 +10:00 committed by Peter Ammon
parent 106552ac42
commit 11504f79bb

View file

@ -1,3 +1,6 @@
set -l options allexport bgnice braceexpand emacs errexit globstar gmacs histexpand ignoreeof keyword letoctal markdirs monitor multiline noclobber noexec noglob nolog notify nounset pipefail privileged showme trackall verbose vi viraw xtrace
complete -c ksh -a "+{a,b,c,e,f,h,i,k,n,o,p,r,s,t,u,v,x,B,C,D,P}"
complete -c ksh -a "-{a,b,c,e,f,h,i,k,n,o,p,r,s,t,u,v,x,B,C,D,P}"
complete -c ksh -s R
complete -c ksh -a "$options"