.xonshrc. Feel free to add your lovely snippets!
Swedneck (@swedneck:feneas.org)(not nixOS, mind, just nix the package manager)
color_tools.pyif xonsh is running with
XONSH_SHOW_TRACEBACK, however after looking at
tools.py, I think it might be better to extract that code and put it in another function, something like
(cd $DIR && wget $url && unzip $filename)
But as far as syntax why do you need the line continuation inside braces for this kind of thing?
(echo "hello" and \ echo "there")
\ I get a syntax error
!and paste the commands to execute. The shell (bash/zsh/fish) will be found automatically.
cmd = 'ssh firstname.lastname@example.org cat ~/myfile'.split() $(@(cmd))
aliases['__my_piped_cmd__'] = '.... myfile | rg my_search' $(__my_piped_cmd__)