diff --git a/zsh.nanorc b/zsh.nanorc index d9949b6..618b250 100644 --- a/zsh.nanorc +++ b/zsh.nanorc @@ -1,5 +1,5 @@ ## Syntax highlighting for ZSH scripts (initially copied from sh.nanorc) -syntax "zsh" "\.zsh[^\.]+$" +syntax "zsh" "\.zsh$" "\.?(zshenv|zprofile|zshrc|zlogin|zlogout)$" header "^#!.*/(env +)?zsh( |$)" ## Numbers