aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/completions/xterm.fish
diff options
context:
space:
mode:
Diffstat (limited to 'share/completions/xterm.fish')
-rw-r--r--share/completions/xterm.fish5
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'