• brumar 3 days ago

    I would not advise to replace your interactive shell with it as it's a pain when you stumble upon uncompatible commands, but writing shell scripts with xonsh is a wonderful experience.

    • scottydelta 3 days ago

      Can you talk about how is it different than writing python scripts? Or writing test code in the python console?

      • brumar 2 days ago

        For me it shines when you need to write shell scripts but you prefer do some parts in python. As another commenter wrote os.system or calling the subprocess module works too, but I find it less satisfying.

        • Neywiny 3 days ago

          Feels like the only benefit is not having to write os.system(). Though maybe including shell scripts (like build environment setup stuff from other software) for more complicated commands? I may give this a try for a bit to find out

        • poincaredisk 3 days ago

          I use fish, so it's not a problem for me. When I tried it 4 years ago it's was a bit unstable, which made me switch back to fish. Also fish is much more polished and user friendly out of the box.

          • Qem 3 days ago

            What are some examples of incompatible commands?

            • brumar 2 days ago

              I don't remember exactly why and how some shell scripts refused to run, but on top of my head I think 'alias' was not working and 'sudo !!' too.