diff --git a/fish_pager.cpp b/fish_pager.cpp index 7c24b5f4e..4fc0a44cc 100644 --- a/fish_pager.cpp +++ b/fish_pager.cpp @@ -444,8 +444,8 @@ static void completion_print_item( const wchar_t *prefix, comp_t *c, int width, written++; writech( L' '); } - written += print_max( L"(", 1, 0 ); set_color( get_color( HIGHLIGHT_PAGER_DESCRIPTION ), bg); + written += print_max( L"(", 1, 0 ); written += print_max( c->desc.c_str(), desc_width, 0 ); written += print_max( L")", 1, 0 ); } diff --git a/share/completions/set.fish b/share/completions/set.fish index 86647e969..6db28053b 100644 --- a/share/completions/set.fish +++ b/share/completions/set.fish @@ -77,5 +77,6 @@ complete -c set -n '__fish_set_is_color' -s o -l bold --description 'Make font b # Locale completions complete -c set -n '__fish_is_first_token' -x -a '$__fish_locale_vars' -d 'Locale variable' complete -c set -n '__fish_set_is_locale' -x -a '(locale -a)' -d (_ Locale) +complete -c set -s L -l long -d 'Do not truncate long lines' -complete -c set -u \ No newline at end of file +complete -c set -u