fork/fish-shell

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

Johannes AltmanningerMark private functions that don't need localizationa53db7256

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