Add descriptions to fish recipe completions (#1578)
This commit is contained in:
parent
cdb0dfae5f
commit
19c887fded
@ -1,5 +1,5 @@
|
|||||||
function __fish_just_complete_recipes
|
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
|
end
|
||||||
|
|
||||||
# don't suggest files right off
|
# don't suggest files right off
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
pub(crate) const FISH_RECIPE_COMPLETIONS: &str = r#"function __fish_just_complete_recipes
|
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
|
end
|
||||||
|
|
||||||
# don't suggest files right off
|
# don't suggest files right off
|
||||||
|
Loading…
Reference in New Issue
Block a user