On 2025-04-01 11:28:57 +0100, Colin Watson wrote: > cjwatson@sacred-mosquito:~$ zsh > This is the Z Shell configuration function for new users, > zsh-newuser-install. > You are seeing this message because you have no zsh startup files > (the files .zshenv, .zprofile, .zshrc, .zlogin in the directory > ~). This function can help you with a few settings that should > make your use of the shell easier. > > You can: > > (q) Quit and do nothing. The function will be run again next time. > > (0) Exit, creating the file ~/.zshrc containing just a comment. > That will prevent this function being run again. > > (1) Continue to the main menu. > > (2) Populate your ~/.zshrc with the configuration recommended > by the system administrator and exit (you will need to edit > the file by hand, if so desired). > > --- Type one of the keys in parentheses --- 2 > /home/cjwatson/.zshrc:15: scalar parameter HISTFILE created globally in > function zsh-newuser-install
You chose 2, and /usr/share/zsh/functions/Newuser/zsh-newuser-install does (2) cp /etc/zsh/newuser.zshrc.recommended $zd/.zshrc source $zd/.zshrc return 0 So you'll get completion settings that may interfere with the testcase. I suggest that you run the test under "zsh -f" (as suggested in my bug report) instead of "zsh", so that init files (except /etc/zsh/zshenv) are not read. -- Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)