The Prezto documentation has the following example script for setting up symlinks:
setopt EXTENDED_GLOB
for rcfile in "${ZDOTDIR:-$HOME}"/.zprezto/runcoms/^README.md(.N); do
ln -s "$rcfile" "${ZDOTDIR:-$HOME}/.${rcfile:t}"
done
I understand everything in "${ZDOTDIR:-$HOME}"/.zprezto/runcoms/^README.md(.N) up until (.N). What does (.N) mean here?
Bonus question, what is ${rcfile:t}? I understand that it resolves to the name of the rcfile but I don't know what the :t is for.