mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-29 14:23:09 +00:00
5 lines
197 B
Fish
5 lines
197 B
Fish
|
|
||
|
function __fish_complete_groups --description "Print a list of local groups, with group members as the description"
|
||
|
cat /etc/group | sed -e "s/^\([^:]*\):[^:]*:[^:]*:\(.*\)/\1\tMembers: \2/"
|
||
|
end
|