$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 2
typeset userdirs # only the first few are shown
1
userdirs=( [gdm]=/var/lib/gdm [systemd-coredump]=/ [myUser]=/home/myUser )
BashSupport Pro is a Zsh IDE with support for $userdirs – try it now!