fork/fish-shell
git clone https://git.julia.blue/fork/fish-shell
a53db7256
master
1# localization: skip(private) 2function __fish_complete_groups --description"Print a list of local groups, with group members as the description" 3if command -sq getent 4getent group| while read -l line 5string split -f 1,4 : --$line | string join\t 6end 7else 8while read -l line 9string split -f 1,4 : --$line | string join\t 10end < /etc/group 11end 12end