fork/fish-shell

git clone https://git.julia.blue/fork/fish-shell

Johannes AltmanningerMark private functions that don't need localizationa53db7256

master
466 B8 linesraw
1# localization: skip(private)
2# This should be used where you want group names without a description. If you also want
3# a description, such as when getting a list of groups for a completion, you probably want
4# __fish_complete_groups.
5function __fish_print_groups --description "Print a list of local groups"
6    # Leave the heavy lifting to __fish_complete_groups but strip the descriptions.
7    __fish_complete_groups | string replace -r '^([^\t]*)\t.*' '$1'
8end