sistema_progs

Programas para customizar o meu entorno de traballo nos meus equipos persoais
Log | Files | Refs

D1535.complete-p.sh (1091B)


      1 
      2 
      3 complete -C 'a'   aws1
      4 complete -C $'\n' aws2
      5 complete -C $'\a' aws3
      6 complete -C ''\''' aws4
      7 complete -C ''\''hello'\''' aws5
      8 complete -p
      9 complete -r
     10 
     11 complete -C a 'aws 1'
     12 complete -C a 'aws'\''2'
     13 complete -C a $'aws\n2'
     14 complete -C a $'aws\a2'
     15 complete -p
     16 complete -r
     17 
     18 complete -W 'a b' aws1
     19 complete -W 'a'\''b' aws2
     20 complete -W $'a\nb' aws3
     21 complete -W $'a\ab' aws4
     22 complete -p
     23 complete -r
     24 
     25 complete -G 'a b'    -X 'a b'    aws1
     26 complete -G 'a'\''b' -X 'a'\''b' aws2
     27 complete -G $'a\nb'  -X $'a\nb'  aws3
     28 complete -G $'a\ab'  -X $'a\ab'  aws4
     29 complete -p
     30 complete -r
     31 
     32 complete -P 'a b'    -S 'a b'    aws1
     33 complete -P 'a'\''b' -S 'a'\''b' aws2
     34 complete -P $'a\nb'  -S $'a\nb'  aws3
     35 complete -P $'a\ab'  -S $'a\ab'  aws4
     36 complete -p
     37 complete -r
     38 
     39 complete -o bashdefault -P P -S S -G G -X X -W W -A user -C callback -F func aws1
     40 complete -o bashdefault -P P -S S -G G -X X -W W -A running -C callback -F func aws2
     41 complete -o bashdefault -P P -S S -G G -X X -W W -A user -C callback -F func -D
     42 complete -o bashdefault -P P -S S -G G -X X -W W -A user -C callback -F func -I
     43 complete -p
     44