- 
      
 - 
        
Save dzinushin/7b81969e1ca24ed7eeb6c1b881b0d26f to your computer and use it in GitHub Desktop.  
    MacOS mc Midnight commander open jar file
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | # jar | |
| shell/i/.jar | |
| Open=%cd %p/uzip:// | |
| View=%view{ascii} /usr/local/Cellar/midnight-commander/4.8.26/libexec/mc/ext.d/archive.sh view zip | |
| # jar | |
| type/i/^jar\ archive | |
| Open=%cd %p/uzip:// | |
| View=%view{ascii} /usr/local/Cellar/midnight-commander/4.8.26/libexec/mc/ext.d/archive.sh view zip | |
| From version 4.8.27 the config format has changed. | |
| Now we must copy mc.ext.ini file from /opt/homebrew/Cellar/midnight-commander/4.8.31/etc/mc to ~/.config/mc/ folder and add the following strings right after [zip-by-shell] section: | |
| [jar-by-shell] | |
| Shell=.jar | |
| ShellIgnoreCase=true | |
| Open=%cd %p/uzip:// | |
| View=%view{ascii} /opt/homebrew/Cellar/midnight-commander/4.8.31/libexec/mc/ext.d/archive.sh view zip | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment