aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/completions/iconv.fish
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-12-27 00:29:33 +1000
committerGravatar axel <axel@liljencrantz.se>2006-12-27 00:29:33 +1000
commit2ec7428e32703b97661898dacd7b065a3f867799 (patch)
treeb9a6cbb3a6a73c56b9cc41157770d0a3dfb29ced /share/completions/iconv.fish
parent594f81ec8c24a5c0344fd6f950164e6241f0fd67 (diff)
Add iconv completions
darcs-hash:20061226142933-ac50b-dd385732a0337f215855db4c517dc1bab52b2aca.gz
Diffstat (limited to 'share/completions/iconv.fish')
-rw-r--r--share/completions/iconv.fish10
1 files changed, 10 insertions, 0 deletions
diff --git a/share/completions/iconv.fish b/share/completions/iconv.fish
new file mode 100644
index 00000000..d1b57932
--- /dev/null
+++ b/share/completions/iconv.fish
@@ -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")
+