As pointed out in the comments, file name extensions like .zsh
mean nothing to Unix shells. What matters when sourcing a script is the shebang on the first line of the script. If you want your script to be interpreted by zsh
instead, then you need to put this as the first line of your script:
#!/bin/zsh
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…