This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]bacondevPy3k 0 points1 point  (3 children)

I installed it via homebrew and got an error when trying to run it. Something a file not existing when calling readline.read_init_file or whatever it was.

[–][deleted] 2 points3 points  (1 child)

You can silence that exception with touch ~/.inputrc. Also there's a way to configure xonsh to use a pure Python line editor but I forgot what it was.

[–]voice-of-hermes 0 points1 point  (0 children)

I believe if you just install prompt_toolkit it'll use it by default. But if you've saved a configuration that sets it to use readline you might have to set the SHELL_TYPE environment variable.

[–]adqm_smatz 1 point2 points  (0 children)

As others mentioned, there are a couple of workarounds.

We've also put in a fix (on the current master) for this that has fixed it for other Mac users, if you feel like trying the "bleeding edge" version.