fork/fish-shell
git clone https://git.julia.blue/fork/fish-shell
a53db7256
master
1# localization: skip(private) 2function __fish_complete_group_ids --description"Complete group IDs with group name as description" 3if command -sq getent 4getent group| string replace -f -r'^([[:alpha:]_][^:]*):[^:]*:(\d+).*' '$2\t$1' 5else if test -r /etc/group 6string replace -f -r'^([[:alpha:]_][^:]*):[^:]*:(\d+).*' '$2\t$1' < /etc/group 7end 8end