Questions tagged [xonsh]

xonsh is a command line shell based on Python.

Filter by
Sorted by
Tagged with
0 votes
0 answers
8 views

How to disable and re-enable bracketed paste mode in xonsh?

How to disable and re-enable xonsh bracketed paste mode? It breaks pasting in interactive terminal tools that are started with keyboard shortcut. In fish I can run functions ...
user avatar
  • 557
1 vote
1 answer
127 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 (...
user avatar
  • 15.5k
1 vote
0 answers
345 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 ...
user avatar
  • 3,533
0 votes
1 answer
47 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 ...
user avatar
0 votes
1 answer
301 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 ...
user avatar
  • 1,608
2 votes
1 answer
599 views

How do you sudo with xonsh?

I get the error xonsh: subprocess mode: permission denied: sudo.
user avatar
  • 305