I've been trying to set up a theme for zsh today, and all of the stock themes (except for the default theme) come with the line "prompt_promptnamesetup "$@"" at the end. It took forever to find out that $@ wasn't a zsh term, but a POSIX theme, and now I know that $@ is a parameter that includes all of the arguments of a command in the form of an array, but I don't know what it's doing here. Is it saying that when promptpromptnamesetup is entered into the command line it will enter the previously defined promptpromptname_setup followed by the array of all the arguments used in the shell?? My brain is so fried, the documentation on this is so in depth, but also SO hard to read
Edit: oh discord hates what I did with italics. oh well