#Xonsh

My friend @jammcq and I are very different (you’ve heard us together on the #Podcast @RuntimeArguments), though we both do roughly the same thing: we’re both #Programmers. A big difference between us is the kinds of #SoftwareTools we use. I’m constantly trying new things to see if they might help. He generally sticks to the tools that already work for him, and upgrades only when something new is "better enough".

As an example: I use fd, rg, and exa. For him, find, grep, and ls are plenty good enough. And I agree! I get something out of the extra features of these tools, but they’re just not "better enough" to make a difference in his workflow.

Usually the new things I try aren’t even "better enough" for me. His bar is even higher. I have sold him on a few things, here and there. Now he uses #Git, #1Password, and fc; maybe others. We both want the same thing: we want to get more work done. We both project when thinking about the other’s style. He thinks I’m wasting time trying all the things I try. I think he could be going so much faster if he had some of the extra powers these newer tools give me.

It’s hard not to see things through your own lens. A neat thing about our relationship is that I can try things, and then if they pass muster with me they can sometimes become a possibility for him. And every once in a while, they **are** "better enough".

P.S. Some things I’m trying right now are #Zsh, the #HelixEditor, and managing my #SSH (private) keys in 1Password. I’m almost certain Helix is not going to become a part of his workflow! #Xonsh, #Zed, and #Kakoune weren’t better enough for me. I never even considered suggesting them to him!

FiveSpeed :cinnamon: :python:fivespeed@fosstodon.org
2025-06-01

@klimperfix I have been using the #xonsh shell for a while now, and enjoy it.

xon.sh

2025-05-21

I think today I need to poke at #Xonsh's container generation so I can unblock #PursuedPyBear's release process.

Yak shaving plus bit rot hurts.

#PyConUS

#Xonsh uses #Python string, which is utf-8, so it lacks the ability to deal with mal-structured file names...

#TechTips: If you accidentally created files with non-unicode file names, you can use`rm --interactive *` to remove them without having to refer to their names (which will either trigger non-utf string error like #Xonsh or no-such-file error in #bash and alike).

PepeCyBs Weltpcw@hub.hubzilla.hu
2025-02-27
#^Xonsh unter Arch Linux

Wer Arch Linux (oder eine Variante) nutzt, verwendet zum Installieren in der Regel die Pakete der Distribution oder - sofern man sich der Risiken bewusst ist - auch vertrauenswürdige Pakete aus dem AUR Repo.  Python ist in der Regel aus dem Repo vorinstalliert. Und es bietet sich ja eigentlich auch an, Xonsh ebenfalls so zu installieren...


..:: WEITERLESEN ::..

#xonsh #arch #python
PepeCyBs Weltpcw@hub.hubzilla.hu
2025-02-25
#^Andere Mupfel



Mit der Bash kenn' ich mich aus. Bin ja auch schon seit 1996 nahezu ausschließlich mit Linux unterwegs... da lernt man über die Jahre die Shell halt kennen ...


..:: WEITERLESEN ::..

#shell #linux #xonsh
Łukasz Langaambv
2025-02-11

Today is a good day. I built installers for 3.14.0a5 for both Windows and macOS. My little fix to immediately landed in a new release that was immediately picked up by . They're also shipping Python 3.13.2. Upgrading was seamless.

I also upgraded to WezTerm yesterday and it's awesome. Images in the terminal? Why not! Let's make one with Alpha 5!

You can also test the release on your system by downloading it from
python.org/download/pre-releas

Wezterm with a vertical split. On the left you see bpytop, on the right some code golfing that produces a Mandelbrot set image from a Mandebrot set-looking piece of Python code. Executing with Python 3.14.
2025-01-06

Do you use xonsh? Do you hate it when midnight commander doesn't exit into the directory you were in?

This post has the fix:

blog.nawaz.org/posts/2018/Apr/

#mc #midnightcommander #xonsh

Alexander Sosedkin :nixos:monk@social.unboiled.info
2024-12-04
@chrism on the same note: dear bash wizards, if my syntax highlighter cannot color ${foo/##*} correctly, imagine how confused actual fleshy humans are.

Just use #xonsh, thank you: https://m.youtube.com/watch?v=ZDhfpqRnpwI
Alexander Sosedkin :nixos:monk@social.unboiled.info
2024-09-17
@kasdeya because

> easy to run command-line stuff with subprocess.run

is a lie. unless I somehow overslept a revolution and #xonsh is now called Python
Felix 🇨🇦 🇩🇪 🇺🇦fst@mstdn.io
2024-08-29

@b0rk I second that list. #fishshell is my daily driver, too. History autocomplete is the killer feature for me and why I stuck to it. Occasionally I'm also experimenting with #nushell and #xonsh

UmWerker 🕊 ☮️ 🤘UmWerker@todon.nl
2024-08-10

At the beginning I used #fish as a #Linux #shell for many years. Until I had problems with it and switched to #zsh. It's too cumbersome for me now, so I went back to "fish". At the same time I'm testing #xonsh, but I've also had a quick look at #dash, #ksh and #oil.

What do you use and would recommend to me? What are their advantages? Whether it's #POSIX compatible or not doesn't matter, because I don't program or use scripts. Colors are important to me for good readability. Thanks for your input 👍 #Arch #ArchLinux

UmWerker 🕊 ☮️ 🤘UmWerker@todon.nl
2024-08-10

Zu Anfang habe ich viele Jahre #fish als #Linux #shell genutzt. Bis ich Probleme damit hatte und zu #zsh wechselte. Die ist mir inzwischen zu schwerfällig, deshalb kehrte ich zu "fish" zurück. Parallel teste ich #xonsh, habe mir aber auch schon kurz #dash, #ksh und #oil angesehen.

Was nutzt und würdet ihr mir empfehlen? Was sind deren Vorzüge? Ob #POSIX kompatibel oder nicht, ist egal, da ich weder programmiere noch Scripts nutze. Farben sind mir für eine gute Lesbarkeit wichtig. Danke für euren Input 👍 #Arch #ArchLinux

2024-08-08

@nixCraft I stopped writing any #bash scripts that are much larger than 3 lines. More than a decade ago. Bcs it's always a mess. You parse weird text output with tricky combinations of awk, sed, tr and friends, and then it breaks next week. Just a mess. The weakest part of the entire #Unix story imho.

I use #Python for anything more than those 3 lines.

For just interactively removing a file or two, or similar, even lousy cmd.exe is kind of okay enough.

Interesting btw: #xonsh

MakerSpacemakerspace
2024-06-06

Learn how to create lightweight Raspberry Pi scripts with Xonsh, a Python shell that lets you write scripts in Python with Bash commands mixed in makerspace-online.com/snake-sh

image of a mechanical caterpillar inside a cog with other cogs and gears in the background (© Nelli Valova, 123RF.com)
Seve_py :vim: :python:seve_py@fosstodon.org
2024-05-23

In this blog post and video, I unveil a virtual environment management script for PowerShell, similar to VOX (originally designed for Xonsh shell). If you’re a PowerShell enthusiast, this one’s for you!
🔗 Read the blog post: tessarinseve.pythonanywhere.co

📄 As a practical use case, I’ve also crafted a Python script that adds TODO free-text annotations to PDF files.
#PowerShell #Python #Productivity #xonsh

Abdulqadir Ahmad 😎arfs6@hachyderm.io
2024-05-01

If you're not using #OhMyPosh, you're missing out.
Where ever I go, as long as oh-my-posh is with me, it will feel like home.
I just tried #xonsh (a shell that understands python), and by just setting up oh-my-posh, it felt as if I have been using xonsh for a while.

2024-03-04

The real benchmark for #llm progress: Make them real good at #bash scripting.

I never want to write another shell script again.

(Unless it's in #xonsh).

Seve_py :vim: :python:seve_py@fosstodon.org
2024-03-04

🦆📊 Interested in data and databases? Check out this video on DuckDB! Dive into CSV data, apply SQL filters, and visualize with Seaborn within the Xonsh shell! #DuckDB #DataAnalytics #Xonsh #svgbob
youtu.be/nSE22tfnq7Y

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst