Bug#1057627: zsh: add /etc/zsh/zlogin.d directory

2023-12-06 Thread Gunnar Hjalmarsson
Related bugs: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=776663 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=983116

Bug#1057627: zsh: add /etc/zsh/zlogin.d directory

2023-12-05 Thread YunQiang Su
Package: src:zsh Version: 5.9-5 Please add an /etc/zsh/zlogin.d directory and add something like if [ -d /etc/zsh/zlogin.d ]; then for i in /etc/zsh/zlogin.d/*.sh; do if [ -r $i ]; then . $i fi done unset i fi Bash does this in /etc/profile, so that other packages can put so