fork/fish-shell

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

Johannes AltmanningerMark private functions that don't need localizationa53db7256

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