mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-02 05:33:10 +08:00
5 lines
202 B
Fish
5 lines
202 B
Fish
|
|
function __fish_complete_users --description "Print a list of local users, with the real user name as a description"
|
|
cat /etc/passwd | sed -e "s/^\([^:]*\):[^:]*:[^:]*:[^:]*:\([^:]*\):.*/\1\t\2/"
|
|
end
|