Metadata-Version: 2.1
Name: xontrib-sh
Version: 0.0.2
Summary: Paste and run commands from bash, zsh, fish in xonsh shell.
Home-page: https://github.com/anki-code/xontrib-sh
Author: anki
Author-email: author@example.com
License: BSD
Project-URL: Documentation, https://github.com/anki-code/xontrib-sh/blob/master/README.md
Project-URL: Code, https://github.com/anki-code/xontrib-sh
Project-URL: Issue tracker, https://github.com/anki-code/xontrib-sh/issues
Description: <p align="center">  
        Paste and run commands from bash, zsh, fish in <a href="https://xon.sh">xonsh shell</a>.
        </p>
        
        <p align="center">  
        If you like the idea click ⭐ on the repo and stay tuned.
        </p>
        
        
        ## Install
        ```bash
        xpip install -U xontrib-sh
        echo 'xontrib load sh' >> ~/.xonshrc
        # Reload xonsh
        ```
        
        ## Usage
        
        Start a line with an exclamation point — `!` — then paste the sh-compatible commands 
        after it and run. The command syntax will be tested in installed shells (bash, zsh, fish, sh) 
        and the commands will be run in the first matching shell.
        
        The commands will be executed in the environment that will be inherited from current
        but if the commands modify the environment there will no changes in source xonsh environment.
        
        ## Example
        
        ### One line: brace expansion (bash syntax)
        ```bash
        ! echo 01.{05..10}
        ``` 
        ```
        bash:
        01.05 01.06 01.07 01.08 01.09 01.10
        ```
        
        ### Many lines: for loop (zsh syntax)
        ```zsh
        ! for x (1 2 3); do 
          echo $x; 
        done
        
        for x (4 5 6); do 
          echo $x; 
        done
        ```
        ```
        zsh:
        1
        2
        3
        4
        5
        6
        ```
        
        ## Credits
        
        This package was created with [xontrib cookiecutter template](https://github.com/xonsh/xontrib-cookiecutter).
        
Platform: any
Classifier: Environment :: Console
Classifier: Intended Audience :: End Users/Desktop
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Unix Shell
Classifier: Topic :: System :: Shells
Classifier: Topic :: System :: System Shells
Classifier: Topic :: Terminals
Classifier: Topic :: System :: Networking
Classifier: License :: OSI Approved :: BSD License
Requires-Python: >=3.6
Description-Content-Type: text/markdown
