Add iconv completions

darcs-hash:20061226142933-ac50b-dd385732a0337f215855db4c517dc1bab52b2aca.gz
This commit is contained in:
axel 2006-12-27 00:29:33 +10:00
parent 594f81ec8c
commit 2ec7428e32

View file

@ -0,0 +1,10 @@
complete -c iconv -s f -l from-code -d (N_ "Convert from specified encoding") -x -a "(iconv --list|sed -e 's|//||')"
complete -c iconv -s t -l to-code -d (N_ "Convert to specified encoding") -x -a "(iconv --list|sed -e 's|//||')"
complete -c iconv -l list -d (N_ "List known coded character sets")
complete -c iconv -s o -l output -d (N_ "Output file") -r
complete -c iconv -l verbose -d (N_ "Print progress information")
complete -c iconv -l help -d (N_ "Display version and exit")
complete -c iconv -l version -d (N_ "Display help and exit")