Ticket #2950: mc-4.8.7-add-zsh-files-to-sh-syntax.patch

File mc-4.8.7-add-zsh-files-to-sh-syntax.patch, 661 bytes (added by Polynomial-C, 10 years ago)
  • mc-4.8.7/misc/syntax/Syntax.in

     
    3737file ..\*\\.lsm$ LSM\sFile 
    3838include lsm.syntax 
    3939 
    40 file .\*(bash_completion|profile|\\.(sh|bash_login|bash_profile|bash_logout|bash_aliases|bash_exports|bash_history|bashrc|profile))$ Shell\sScript ^#!\s\*/(.\*/|usr/bin/env\s)([a-z]?|ba|pdk)sh 
     40file .\*(bash_completion|profile|\\.(sh|bash_login|bash_profile|bash_logout|bash_aliases|bash_exports|bash_history|bashrc|profile|zlogin|zlogout|zprofile|zshenv|zshrc))$ Shell\sScript ^#!\s\*/(.\*/|usr/bin/env\s)([a-z]?|ba|pdk)sh 
    4141include sh.syntax 
    4242 
    4343file ..\*\\.(pl|PL|pm|PM|psgi|PSGI)$ Perl\sProgram ^#!.\*([\s/]perl|@PERL@)