vte_new_tab_cwdfield) then the characters of the whole prompt don't get send in the right order:
$PROMPT. However I need to send some escapes after the normal prompt characters. How can I do this?
xontrib load prompt_ret_code(
Hey guys I have this
# Fail fast, a.k.a set -e $RAISE_SUBPROC_ERROR = True exists = bool($(grep "non-existant" file.txt)) if exists: ...
Now this almost works, except that
1 when it doesn't find the pattern and
xonsh will terminate with error due to
I want this to be set in most cases and still be able to rescue myself in some specific cases.
So I do
$(grep "non-existant" file.txt || true)
But then get a
SyntaxError due to illegal
bash logical operators are not allowed? :/
with open('file.txt', 'w') as file: file.write('foobar')
Hey all, new machine with branch new conda and xonsh, conda active fails with:
CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'. To initialize your shell, run $ conda init <SHELL_NAME> Currently supported shells are: - bash - fish - tcsh - xonsh - zsh - powershell See 'conda init --help' for more information and options. IMPORTANT: You may need to close and restart your shell after running 'conda init'.
I thought that was fixed ?