xonsh is a Python-powered, cross-platform, Unix-gazing shell language and command prompt
!
and paste the commands to execute. The shell (bash/zsh/fish) will be found automatically.
cmd = 'ssh user@sshserver.com cat ~/myfile'.split()
$(@(cmd))
should work
ExecAlias
out of the command, and then capture the alias
aliases['__my_piped_cmd__'] = '.... myfile | rg my_search'
$(__my_piped_cmd__)
xontrib
topic and preview images to the xontrib repos. As result we have 34 xontribs in Github Topics - https://github.com/topics/xontrib - and part of them have cute preview images. Take a minute to look and star most interesting!
pip install xontrib-ergopack && xontrib load ergopack
.
![]
calls to be sure that you're in subprocess mode.