mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 16:34:47 +01:00
6 lines
160 B
Python
6 lines
160 B
Python
"""Bash-like interface extensions for xonsh."""
|
|
|
|
|
|
@events.on_precommand
|
|
def bash_preproc(cmd):
|
|
return cmd.replace('!!', __xonsh_history__.inps[-1].strip())
|