Add descriptions to fish recipe completions (#1578)

This commit is contained in:
Patrick Jackson 2023-06-12 10:12:17 -07:00 committed by GitHub
parent cdb0dfae5f
commit 19c887fded
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
function __fish_just_complete_recipes
just --summary 2> /dev/null | tr " " "\n" || echo ""
just --list 2> /dev/null | sed -e '1d; s/^\s*\([^[:space:]]*\)[^#]*$/\1/' -e 's/^\s*\([^[:space:]]*\)[^#]*# \(.*\)$/\1\t\2/'
end
# don't suggest files right off

View File

@ -1,5 +1,5 @@
pub(crate) const FISH_RECIPE_COMPLETIONS: &str = r#"function __fish_just_complete_recipes
just --summary 2> /dev/null | tr " " "\n" || echo ""
just --list 2> /dev/null | sed -e '1d; s/^\s*\([^[:space:]]*\)[^#]*$/\1/' -e 's/^\s*\([^[:space:]]*\)[^#]*# \(.*\)$/\1\t\2/'
end
# don't suggest files right off