diff options
Diffstat (limited to 'vim/ftdetect/zsh.vim')
-rw-r--r-- | vim/ftdetect/zsh.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vim/ftdetect/zsh.vim b/vim/ftdetect/zsh.vim index 1bcde981..08556361 100644 --- a/vim/ftdetect/zsh.vim +++ b/vim/ftdetect/zsh.vim @@ -4,6 +4,6 @@ autocmd BufNewFile,BufRead \ setfiletype zsh autocmd BufNewFile,BufRead \ * - \ if getline(1) =~ '^#!.*zsh$' + \ if getline(1) =~# '^#!.*\<zsh\>' \ | setfiletype zsh \ | endif |