-
When writing my new xontrib, I needed to extract the last command used from history and pass it into evalx.
I found that if I simply used `__xonsh_history__[-1]` it was passed as a string without fir…
-
Greetings,
Happy to share what I'm seeing w/ latest build.
```
pbr@mongo:~$ xonsh
aliases: alias 'fgrep' of shell 'bash' tries to override xonsh alias, xonsh wins!
aliases: alias 'grep' of shell '…
-
In a xonsh session:
```
$ def foo(): pass
$ import inspect
$ inspect.getsource(foo)
```
with a clean xonsh, got `OSError`:
```
Traceback (most recent call last):
File "/Library/Framew…
mitnk updated
5 years ago
-
It would be convenient to have built-in ssh server support in xonsh, perhaps via consh, so that a Python installation is all that's needed to ssh into a system.
-
There is an excellent IPython magic for this:
https://github.com/catherinedevlin/ipython-sql
It even has an option to turn the result automatically into a Pandas dataframe.
It would be quite useful …
-
## xonfig
```
$ xonfig
klay6683@macl3886 ~/Dropbox/src $ xonfig
+------------------+-----------------+
| xonsh | 0.9.9 |
| Python | 3.7.4 |
…
-
"Invoking" a data file for which the shell has an executable file type extension registered is a pure Windows-ism, but it is handy.
``` cmd
$ d *.htm
Volume in drive C has no label.
Volume Serial…
bobhy updated
5 years ago
-
for the following reasons i propose to add functionality of a local http-server that serves the _current_ documentation:
- the current dev-docs are not hosted on http://xon.sh
- which is sad if you …
-
In ZSH it is possible to set [suffix aliases](http://zshwiki.org/home/examples/aliassuffix). These define a function to call with the file as its argument if the suffix matches the aliased one. For ex…
-
https://github.com/zdharma/history-search-multi-word
Zsh has an awesome search/autosuggest plugin that lets you easily scroll through options and also see more than one option at a time.
Where i…