Coder Social home page Coder Social logo

Comments (4)

justinmayer avatar justinmayer commented on June 12, 2024

Hey Matthew. Could you elaborate regarding precisely what you are trying to accomplish? It's not clear from the brief description provided.

Activating a virtual environment, regardless of which tool does it, entails setting the shell's $PATH such that the environment's executables take precedence. VirtualFish is no different in that respect, and the operation performed is quite straightforward.

In other shells we just source path/to/venv/activate but this obviously doesn't work with fish

Well, in the virtual environments I have seen, a Fish-specific activation script is already included at your-virtual-environment/bin/activate.fish, so other than appending .fish to your usual invocation, I don't see any other differences in terms of process flow.

In any case, could VirtualFish source that file instead of using its own activation logic? Sure, but in the absence of presented evidence to the contrary, I don't believe that would accomplish anything, and the reasons why it doesn't activate via Virtualenv's activate.fish are already explained in the FAQ.

from virtualfish.

sgtsquiggs avatar sgtsquiggs commented on June 12, 2024

You're right 🤦

Thanks!

from virtualfish.

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.