Add check for locale cmd

This commit is contained in:
Jason Nader 2020-02-27 08:18:39 +09:00 committed by Fabian Homborg
parent f507f4ad1e
commit e2ed4ec014

View File

@ -108,5 +108,5 @@ complete -c set -n '__fish_set_is_color' -s b -l background -x -a '(set_color --
complete -c set -n '__fish_set_is_color' -s o -l bold -d 'Make font bold' complete -c set -n '__fish_set_is_color' -s o -l bold -d 'Make font bold'
# Locale completions # Locale completions
complete -c set -n '__fish_set_is_locale; and not __fish_seen_argument -s e -l erase' -x -a '(locale -a)' -d "Locale" complete -c set -n '__fish_set_is_locale; and not __fish_seen_argument -s e -l erase' -x -a '(command -sq locale; and locale -a)' -d "Locale"
complete -c set -s L -l long -d 'Do not truncate long lines' complete -c set -s L -l long -d 'Do not truncate long lines'