Git Product home page Git Product logo

Comments (7)

anki-code avatar anki-code commented on July 23, 2024 1

if a xonsh user wants this behavior, they can $PATH.insert(0, '.') (on any platform).

@jaraco may be we need to add this to docs? E.g. Platform-specific tips and tricks - Windows

from xonsh.

BYK avatar BYK commented on July 23, 2024

Yeah, those were different times 😅

I'm happy to drop this behavior, move it to a xontrib or hide behind a configuration. For maintenance, I think the best would be a xontrib if people want it. I certainly don't need or use it for now.

I'll check the sudo implementation to remember what was going on but arguably, that should be in a xontrib too. Thoughts?

from xonsh.

BYK avatar BYK commented on July 23, 2024

Just checked the sudo alias and TBH I think it is actually quite confusing if for people who want a unified experience. Don't know why we thought it was a good idea to bake in. I guess we didn't have xontribs back then so we didn't have a better way to share this around?

from xonsh.

jaraco avatar jaraco commented on July 23, 2024

I'm happy to drop this behavior, move it to a xontrib or hide behind a configuration.

The linked PR #5477 just removes it. No need to add it to a xontrib - if a xonsh user wants this behavior, they can $PATH.insert(0, '.') (on any platform).

from xonsh.

jaraco avatar jaraco commented on July 23, 2024

Done in cf2f422.

from xonsh.

anki-code avatar anki-code commented on July 23, 2024

Great read! One question: $PATH.append() (lowest priority) or $PATH.prepend() (highest priority)? Or mention both.

from xonsh.

jaraco avatar jaraco commented on July 23, 2024

from xonsh.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.