base64: New _longopt completion.
This commit is contained in:
parent
fe4ae55f34
commit
7137e60a45
@ -1688,7 +1688,7 @@ _longopt()
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
# makeinfo and texi2dvi are defined elsewhere.
|
# makeinfo and texi2dvi are defined elsewhere.
|
||||||
for i in a2ps awk bash bc bison cat colordiff cp csplit \
|
for i in a2ps awk base64 bash bc bison cat colordiff cp csplit \
|
||||||
cut date df diff dir du enscript env expand fmt fold gperf gprof \
|
cut date df diff dir du enscript env expand fmt fold gperf gprof \
|
||||||
grep grub head indent irb ld ldd less ln ls m4 md5sum mkdir mkfifo mknod \
|
grep grub head indent irb ld ldd less ln ls m4 md5sum mkdir mkfifo mknod \
|
||||||
mv netstat nl nm objcopy objdump od paste patch pr ptx readelf rm rmdir \
|
mv netstat nl nm objcopy objdump od paste patch pr ptx readelf rm rmdir \
|
||||||
|
1
test/completion/base64.exp
Normal file
1
test/completion/base64.exp
Normal file
@ -0,0 +1 @@
|
|||||||
|
assert_source_completions base64
|
20
test/lib/completions/base64.exp
Normal file
20
test/lib/completions/base64.exp
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
proc setup {} {
|
||||||
|
save_env
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
proc teardown {} {
|
||||||
|
assert_env_unmodified
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
setup
|
||||||
|
|
||||||
|
|
||||||
|
assert_complete_any "base64 "
|
||||||
|
|
||||||
|
|
||||||
|
sync_after_int
|
||||||
|
|
||||||
|
|
||||||
|
teardown
|
Loading…
x
Reference in New Issue
Block a user