diff options
author | liljencrantz <liljencrantz@gmail.com> | 2007-09-22 07:10:51 +1000 |
---|---|---|
committer | liljencrantz <liljencrantz@gmail.com> | 2007-09-22 07:10:51 +1000 |
commit | 048f903a9d84306561c5a741898e7f16f45fb514 (patch) | |
tree | cc7c6fc9fa53d6169da47054cceb071018b07f38 /share/completions/xterm.fish | |
parent | dab7e6c7b98825879cc03016113b31b575f3f7af (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/completions/xterm.fish')
-rw-r--r-- | share/completions/xterm.fish | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/share/completions/xterm.fish b/share/completions/xterm.fish index 13671c08..1bd3da5e 100644 --- a/share/completions/xterm.fish +++ b/share/completions/xterm.fish @@ -1,8 +1,5 @@ # completion for xterm -function __fish_complete_xterm_encoding -d "Complete encoding information for xterm" - iconv --list|sed -e 's|//||' -end complete -c xterm -n '__fish_test_arg "+*"' -a +ah --description 'Never highlight the text cursor' complete -c xterm -n '__fish_test_arg "+*"' -a +ai --description 'Enable active icon support' @@ -107,7 +104,7 @@ complete -r -c xterm -o bcf --description 'Blinking cursor will be off for that complete -r -c xterm -o bcn --description 'Blinking cursor will be on for that many milliseconds' complete -r -c xterm -o class --description 'Override xterm resource class' complete -r -c xterm -o cr --description 'Color for the text cursor' -complete -r -c xterm -o en -xa "(__fish_complete_xterm_encoding )" --description 'xterm encoding' +complete -r -c xterm -o en -xa "(__fish_print_encodings)" --description 'xterm encoding' complete -r -c xterm -o fb --description 'Bold font' complete -r -c xterm -o fa --description 'FreeType font pattern' complete -r -c xterm -o fd --description 'FreeType double-width font pattern' |