aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/functions/__fish_print_encodings.fish
diff options
context:
space:
mode:
authorGravatar liljencrantz <liljencrantz@gmail.com>2007-09-22 07:10:51 +1000
committerGravatar liljencrantz <liljencrantz@gmail.com>2007-09-22 07:10:51 +1000
commit048f903a9d84306561c5a741898e7f16f45fb514 (patch)
treecc7c6fc9fa53d6169da47054cceb071018b07f38 /share/functions/__fish_print_encodings.fish
parentdab7e6c7b98825879cc03016113b31b575f3f7af (diff)
Create common function for listing available character encodings, make sure it is used in all relevant places.
darcs-hash:20070921211051-75c98-5ff21df5b29e8a66ef0c4488afb96acfdb6f74a2.gz
Diffstat (limited to 'share/functions/__fish_print_encodings.fish')
-rw-r--r--share/functions/__fish_print_encodings.fish3
1 files changed, 3 insertions, 0 deletions
diff --git a/share/functions/__fish_print_encodings.fish b/share/functions/__fish_print_encodings.fish
new file mode 100644
index 00000000..5770330b
--- /dev/null
+++ b/share/functions/__fish_print_encodings.fish
@@ -0,0 +1,3 @@
+function __fish_print_encodings -d "Complete using available character encodings"
+ iconv --list|sed -e 's|//||'
+end