Questions tagged [xonsh]
xonsh is a command line shell based on Python.
6
questions
1
vote
1
answer
274
views
How can I improve this Python / Xonsh script (converted from bash)?
I'm starting to learn xonsh and Python. I want to use Python mainly for shell scripting and I want to replace many existing small to medium bash scripts.
I started with the bash script given below (...
1
vote
0
answers
94
views
How to replace Bash with Xonsh [duplicate]
I am using Linux Mint 19.1
I want to use Xonsh as my default shell.
According to their documentation, The latest version of Xonsh can only be installed using conda, pip, or from source.
conda:
$ ...
1
vote
0
answers
428
views
ls ~ permission denied with xonsh in Cygwin
I tried to use xonsh in my Cygwin terminal, but ran into some problems with permissions:
loom@tatooine ~ $ ls
xonsh: subprocess mode: permission denied: ls
However, I can use the command ls as ...
0
votes
1
answer
59
views
How do I place a multi-term command in the background on xonsh?
For instance, I want to do the following, but it fails:
$ echo "mytext bla" > test.txt&
$ rm test.txt
/bin/rm: cannot remove 'test.txt': No such file or directory
The actual command I am ...
0
votes
1
answer
344
views
\1 in sed command not working under xonsh
I don't understand what I'm missing here:
$ echo 'testing' | sed -E 's/([a-z]*)ing/\1ing/g'
ing
I would expect the output to be testing again, since \1 should be test? That input seems to have been ...
2
votes
1
answer
683
views
How do you sudo with xonsh?
I get the error xonsh: subprocess mode: permission denied: sudo.