Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 15 19:16
    wshanks closed #4058
  • Jan 15 19:16
    wshanks commented #4058
  • Jan 15 18:16
    gforsyth commented #4058
  • Jan 15 17:51
    gforsyth closed #4059
  • Jan 15 17:51
    gforsyth commented #4059
  • Jan 15 17:28
    eeshugerman starred xonsh/xonsh
  • Jan 15 16:38
    jonaslb edited #4059
  • Jan 15 16:36
    jonaslb opened #4059
  • Jan 15 16:23
    anki-code commented #4050
  • Jan 15 16:07
    wshanks opened #4058
  • Jan 15 15:16
    chrischase62 starred xonsh/xonsh
  • Jan 15 08:29
    bobbui starred xonsh/xonsh
  • Jan 15 08:01
    vladIcedigital starred xonsh/xonsh
  • Jan 15 01:12
  • Jan 14 21:26
    gforsyth commented #4050
  • Jan 14 21:20
    SpotHound commented #4050
  • Jan 14 19:19
    Ahuge starred xonsh/xonsh
  • Jan 14 19:02
    gforsyth commented #4056
  • Jan 14 18:29
    Qyriad commented #4056
  • Jan 14 18:28
    Qyriad commented #4056
anki-code
@anki-code

@das-g Thanks for your attention! It's appreciated. I know. But I see by another issues past year that activity is very low.

Anthony wrote:

But the bigger the effects of the change, like with subprocess syntax, the more people are going to need to weigh in on the pros/cons and the more forethought will need to be put into it.

And because the change is very closer to core I mentioned contributors. Sad but xonsh hasn't another ways. No social network publics or something like this.

Raphael Das Gupta
@das-g
Well, that's why it was suggested to set up a Xonsh enhencement proposal (XEP) process. Part of that would have to be on how to get the attention of the relevant stakeholders.
anki-code
@anki-code
Anthony writes short answers and many of them are not clear and sometimes he doesn't clearly understand the question or code because he has lack of time. I understand and appreciate his time and I try to ask xore feedback but hear silence in most cases. I'm not in hurry I'm just try to open contructive dialogue.
In case of XEP there are no links about what is it and what I should to do. Google shows nothing.
Raphael Das Gupta
@das-g
Sorry, that was maybe unclear: The Xonsh community doesn't yet have a defined process on how to handle enhancement proposals. (At all, so not just related to your proposal.) It though seems like such a process would be needed, so the fist step would be to define such a process.
Once that process has been defined, your proposal could be handled according to it.
anki-code
@anki-code
Got it, thanks! We're working hard to make complete description in #3924. It's not the XEP process description it's a complete subproc substitution approaches overview. If anyone know enogh how to build XEP process this should be described in distinct issue and will be great.
anki-code
@anki-code
:newspaper: After a month of waiting and approving, xonsh was added to awesome-python list - the second "awesome" list by count of stars in "awesome" community. Thanks to all who put the like and support the pull request! :tada:
1 reply
halloleo
@halloleo
I'm back on xonsh keybindings via prompt-toolkit: I looking for keybindings like Right Key for accepting the suggestion from the history when you start typing. Where is that in the source code? (I looked for @bindings.add, but couldn't find it.)
3 replies
halloleo
@halloleo
So the Autosuggestion key binding is set in ptk? Alright. But where are all these shortcuts then documented? Somehow couldn't find it in the ptk readthedocs ...
And I don't mean the list of possible keys but the actual keys used (like Right for accept autosuggest, C-e fir end of line, etc, etc).
David Strobach
@laloch
Yeah, the PTK docs are not that comprehensive in this respect. Just read the source :wink:
halloleo
@halloleo
@laloch Fair enough.
The PTK docs talk about vi and emacs bindings. Which ones are choosen for xonsh? For me C-e goes to the end of the line which matches what Emacs does, so I guess xonsh uses Emacs style, right?
Anthony Scopatz
@scopatz
There is a $VI_MODE env var that lets you switch between them, IIRC
halloleo
@halloleo
Thanks. Just found in ptk that C-e in autosuggest mode does the same as Right key. Handy. Even better ESC-f does partial autosuggest completion! :-)
halloleo
@halloleo
When using prompt-toolkit, how can I select a filename completion without executing it? let's say I have a dir with two file file1.txt and file2.txt.
I type ls file hit tab and get a list with file1.txt and file2.txt. With the cursor keys I can select one. Now when I confirm the selection with enter it completes as I want, but executes the statement as well. How can I just confirm without executing, so that I can type more stuff in that line?
7 replies
Anthony Scopatz
@scopatz
Hey all! Just FYI, I am on holiday this week, so that is why I am a little slow responding to issues & PRs
3 replies
eggcaker
@eggcaker
176011604479074_.pic_hd.jpg
Hi all, I want use the xontrib-kitty to display the chart on kitty terminal ,after load the xontrib-kitty make a simple plt.plot(range(10)), i got a very big chart like this, did I missing some setup ?
Anthony Scopatz
@scopatz
That looks like the matplotlib xontrib
anki-code
@anki-code
:new: New xontrib-hist-format - to get commands and output from history as Markdown and post it to Github in copy-pastable manner.
eggcaker
@eggcaker
@scopatz ??
Anthony Scopatz
@scopatz
It looks like the figsize is wrong for some reason
anki-code
@anki-code
:star2: 4000 stargazers :tada:
Ganesha Sharma
@Ganesha2282882
how do i force manjaro nibia (20.2) to use xonsh? i installed it with pacman and then pip
and chshed it
but logging out and back in did not do anything
CaféHaine
@cafehaine
maybe your terminal is overriding your preferred shell ? is xonsh used in a tty ?
Ganesha Sharma
@Ganesha2282882
it's used in manjaro kde with Konsole and CoolRetroTerm
i wanted to see what happens to uninstall bash but it pacman showed a bunch of package errors
so i did not
to kinda force it to use xonsh
David Strobach
@laloch
@Ganesha2282882 in order for chsh to work, the desired shell must listed in /etc/shells.
CaféHaine
@cafehaine
if @Ganesha2282882 installed it with pacman it would be listed in /etc/shells
otherwise it's needed to add it manually yes
Ganesha Sharma
@Ganesha2282882
yeah, it's in there, here's my etc shells:
# Pathnames of valid login shells.
# See shells(5) for details.

/bin/sh
/bin/bash
/bin/zsh
/usr/bin/zsh
/usr/bin/git-shell
/bin/xonsh
CaféHaine
@cafehaine
did you add it manually ? I'm pretty sure the default path is /usr/bin/xonsh
well, /bin is symlinked to /usr/bin/ in arch, but still
David Strobach
@laloch
This is how the package installs: grep -x /usr/bin/xonsh /etc/shells >/dev/null || echo /usr/bin/xonsh >> /etc/shells
So yeah, it should not be the problem.
Ganesha Sharma
@Ganesha2282882
i don't think so.
find:/run/user/1000/doc’: Permission denied
find:/run/user/1000/gvfs’: Permission denied
/usr/bin/xonsh-cat
/usr/bin/xonsh
/var/cache/pacman/pkg/xonsh-0.9.24-1-any.pkg.tar.zst
from command:
sudo find / | grep xonsh --color=none | grep -v /root | grep -v /usr/lib | grep -v /home
so, it might actually be in /usr
but chsh said it's not in /etc/shells. It did not put a No such file or directory error.
Ganesha Sharma
@Ganesha2282882
i modified my shell and /etc/shells, power cycled 1 time, and it actually booted to Xonsh
*in Konsole
matrixbot
@matrixbot
gsb19 Hi all. What's the best practice of using existing virtualenvs with xonsh? (not created with vox)
SolarAquarion
@SolarAquarion
Back2Basics
@Back2Basics_twitter
@scopatz Nice xon.sh page redesign.
Anthony Scopatz
@scopatz
Thanks!
PotatoAlienOf13
@PotatoAlienOf13
quick question: where can I find the documentation for autoxsh?
ah nevermind