Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 03:07
    beetleb commented #3640
  • Jan 17 21:34
    xdroff starred xonsh/xonsh
  • Jan 17 15:22
    isaacimholt starred xonsh/xonsh
  • Jan 17 14:45
    HirotsuguMINOWA starred xonsh/xonsh
  • Jan 17 05:47
    pc223 starred xonsh/xonsh
  • Jan 17 05:47
    pc223 starred xonsh/xonsh
  • Jan 17 04:21
    m2tkl starred xonsh/xonsh
  • Jan 16 19:45
    dSchaexn edited #4060
  • Jan 16 17:07
    dSchaexn opened #4060
  • Jan 16 15:14
    Invarianz starred xonsh/xonsh
  • 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
Raphael Das Gupta
@das-g
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
I found out what I was doing wrong
halloleo
@halloleo
@matrixbot @gsb19 You can create your venvs with Python's venv module (python3 -m venv DIR). Just make sure that DIR is a subdirectory in $VIRTUALENV_HOME.)Then vox will see it when you use vox --list. HTH.
matrixbot
@matrixbot

gsb19 > <@gitter_halloleo:matrix.org> @matrixbot @gsb19 You can create your venvs with Python's venv module (python3 -m venv DIR). Just make sure that DIR is a subdirectory in $VIRTUALENV_HOME.)Then vox will see it when you use vox --list. HTH.

Meaning i'll have to recreate the existing virtualenvironments, reinstall dependencies and reconfigure external references to point to the new vox repos or add symlinks in the old scripts/bin dirs to the new virtualens in $VIRTUALENV_HOME .

halloleo
@halloleo
@matrixbot @gsb19 Well, yes and no: If you want to use given venvs, you can either change $VIRTUALENV_HOME or you can switch to a venv just by using its path after vox enter ..., but then you cannot use vox's venv-list feature. Use what's appropriate in your situation.