$userdirs
–
Mapping of usernames to home directories
$userdirs maps usernames to the paths of their home directories.
Links
Examples
- Print available user names and directories
- Output:
1 2typeset userdirs # only the first few are shown1userdirs=( [gdm]=/var/lib/gdm [systemd-coredump]=/ [myUser]=/home/myUser )
BashSupport Pro is a Zsh IDE with support for $userdirs – try it now!