Bash-like interface extensions for xonsh.
Project description
Bash-like interface extensions for xonsh.
If you like the idea click ⭐ on the repo and tweet.
Installation
To install use pip:
xpip install xontrib-bashisms
# or: xpip install -U git+https://github.com/xonsh/xontrib-bashisms
Usage
xontrib load bashisms
Enables additional limited Bash-like syntax and commands while at the interactive command prompt:
!!
,!$
,!^
,!*
alias
export
unset
set
shopt
complete
set <-e|+e|-x|+x>
Known issues
Note that these features are implemented as precommand events and these additions do not affect the xonsh language when run as script. That said, you might find them useful if you have strong muscle memory.
This xontrib may modify user command line input to implement its behavior.
To see the modifications as they are applied (in unified diffformat), please set $XONSH_DEBUG
to 2
or higher.
See also
- Bash to Xonsh Translation Guide
- xontrib-sh - Paste and run commands from bash, zsh, fish, tcsh in xonsh shell.
Credits
This package was created with xontrib template.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for xontrib_bashisms-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3dbfdaefa2d9554bbc261447e0254709855bab6076b87fde0df2b65afb351faa |
|
MD5 | 450bdd618d6dee79924223c36516bb38 |
|
BLAKE2b-256 | 644a6618b8cf1d75f25c506fbba51be98cd7b109447730bcde79df722835d9d9 |