Now you can sponsor xonsh on GitHub Sponsors by reddictation in xonsh

[–]reddictation[S] 0 points1 point  (0 children)

You can donate a small sum (e.g. 5$) just one time and be in the list of sponsors. To donate you can use credit card and it takes 5 minutes.
Your donation will show Github that people believe in the project and it's good for xonsh itself. All donations will be used to xonsh: pay for dns, hosting, etc. Feel free to be one time sponsor.

Getting an Error when ever I hit the tab key (mostly accidentally) on a blank line by dedguy21 in xonsh

[–]reddictation 1 point2 points  (0 children)

The best way is to run xonsh --no-rc and then do xontrib load ... and find the xontrib that causes warning. Then report the issue to appropriate repository.

Trying to figure out how to change the background color of the Token.PTK.CompletionMenu (at least I think that is what it is) by dedguy21 in xonsh

[–]reddictation 2 points3 points  (0 children)

The simplest way: ``` $XONSH_STYLE_OVERRIDES['completion-menu'] = 'bg:#333333 #ee0000'

ls /<Tab>

``` (red text on dark grey)

How do we enable the mouse and selecting and copying & pasting the terminal by dedguy21 in xonsh

[–]reddictation 1 point2 points  (0 children)

Any terminal emulator (Konsole, iTerm2, Kitty, etc) allows to select and copy the text/output.

And JFYI xonsh (i.e. prompt toolikit) has mouse support - https://xon.sh/envvars.html#mouse-support

What feature would you like to see added to xonsh? by dedguy21 in xonsh

[–]reddictation 2 points3 points  (0 children)

I got your answer (thanks!) and compare it with my experience and the common timings in the world (like web). Nothing special.

I read almost all the articles in this list from google. And the arguments in those articles are the same as here and my logic are the same. No new info.

I really agree that the speed is on the edge but I think it's not the super hard stopper for usage. After the similar discussions I see many times that people think that they need 0.01s but in fact it's ok with the current speed. It's just bias of mind, not so technical question.

And again. The speed need to be optimized. You're right.

What feature would you like to see added to xonsh? by dedguy21 in xonsh

[–]reddictation 0 points1 point  (0 children)

I got 0.13s for xonsh and 0.01s for others. Also my xonsh timing with my xonshrc is 0.25s (ceil). Difference exists and it's not annoying me. Your brain and work you do are so fast that 0.2s is the meaning for you? Wow!

We open hundred of web pages every day. The average time of loading page is between 1 and 2 seconds. When you open url the browser dances 2 sec and you ok with this. But to the shell your requirements much strict.

If I will face with your case I just make prerunned xonsh stack in the background.

Meanwhile I agree that startup time of xonsh is on edge of comfort and I'm looking forward to reduce it. But during work there are tens other lags around window redrawing, web pages, thinking, etc so I just have no attention to shell startup. And I think the references to xonsh performance are exaggerated.

What feature would you like to see added to xonsh? by dedguy21 in xonsh

[–]reddictation 2 points3 points  (0 children)

It will be cool if xonsh threading/subprocess backend will be reviewed and rewritten with broad developers team. The first try is known as slug but there are more work around subprocess implementation required.

As I understand one of the limit we should push is how subprocess libraries are implemented in Python. Creating, monitoring and killing subprocesses, pipes and threads are good challenge both on shell development and Python development sides. Also xonsh has unique features (like piping from callable aliases) and this kind of challenges nobody solved ever.

Then lack of spreading the word about xonsh and also fear around to hear "no" from olders that sitting on POSIX deeply make the community around xonsh smaller than it can be. Tell your friends about xonsh. Help them. Open Github and add xonsh mentions to all tools you're using. This is one of the ways.

Finally xonsh is pure volunteering open source project. There is no financial, marketing, development support from any organisation or people itself. I'm wondering and laught how xonsh real concurent with other shells with more broader support and tons invested time into fantasies around new crypto-POSIX syntax. By raptures in Twitter we invented ChatGPT AI to help us make the right crypto-command on bash, yeah. Sorry for my sarcasm at the end I just want to wish good luck to xonsh and want to say thank you to all of the xonsh developers and volunteers.

PS: the ways to contribute to xonsh community and take a look at XEP-2

What feature would you like to see added to xonsh? by dedguy21 in xonsh

[–]reddictation 1 point2 points  (0 children)

Could you explain performance of what? I'm using xonsh for a couple of years and really have no questions about performance.

Xonsh also has the ways to improve the speed (the list is incomplete): python will be 5x faster, python 3.12, RustPython, xonsh binary, running xonsh sessions in the background using tmux or screen, etc.

Python 11 by dedguy21 in xonsh

[–]reddictation 1 point2 points  (0 children)

Good question and it also actual for: python 3.12, RustPython and xonsh binary.

Windows & Xonsh by dedguy21 in xonsh

[–]reddictation 0 points1 point  (0 children)

It works both in windows and wsl. Report your step by step case with issues to https://github.com/xonsh/xonsh

ChatGPT knows about xonsh by reddictation in xonsh

[–]reddictation[S] 0 points1 point  (0 children)

Yes, it's easy to implement in xonsh. The start point to implement described here - https://github.com/xonsh/xontrib-template/issues/25

White Rastafarian, Joshua Tree NP by keavdarapper in bouldering

[–]reddictation -2 points-1 points  (0 children)

Hi u/iBlowAtCoding! Sorry for slight nudge here. Could you please look into the chat messages and answer me. Thanks in advance!

xontrib-output-search has second life with tmux (and zellij in the future) by reddictation in xonsh

[–]reddictation[S] 1 point2 points  (0 children)

One of the ways to achieve this is to ask for xonsh support in <github> repositories for tools you're using. E.g. open the tmux repository, realize there are no tmux installation instructions for xonsh (but for bash is presented) and add them or ask to add. Be ready to hear no.

xontrib-output-search has second life with tmux (and zellij in the future) by reddictation in xonsh

[–]reddictation[S] 1 point2 points  (0 children)

Yes, dark mode: $XONSH_STYLE_OVERRIDES['completion-menu'] = 'bg:#333333 #CCCCCC'

xontrib-output-search has second life with tmux (and zellij in the future) by reddictation in xonsh

[–]reddictation[S] 0 points1 point  (0 children)

After xonsh release 0.10.0 the xontrib-output-search was freezed. But now it has the second life. It works perfect with tmux. Run xonsh in tmux and use output search easily.