Code Monkey home page Code Monkey logo

pacman-venv's People

Contributors

jdholtz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

aomogol

pacman-venv's Issues

Add the Ability to Use Without Root

Description

running pacman-venv venv asks for sudo password for "Installing base environment"

can it be rootless?

Same for installing packages in the venv, it asks for sudo password.

What alternatives have you considered?

No response

Support for non-Bash shells

Description

Hey, thanks for taking the time to make this awesome tool.

I'm unable to activate a virtual environment when using any shell other than bash. This is really more of a minor annoyance (I can just switch to bash easily enough), but I wasn't sure if this was identified by you and/or intentional for some reason.

I'm happy to provide you with any additional information you might need from my configuration.

To Reproduce

  1. Ensure a non-bash environment is activated: - zsh
  2. Create a new virtual environment: pacman-venv test-env
  3. Activate the virtual environment: source test-venv/bin/pacman-venv-activate
  4. Observe stderr stream:
realpath: '': No such file or directory
create_path:read:2: bad option: -a
  1. Observe stderr of pacman command: zsh: no such file or directory: ./.pacman-venv-pacman
  2. Activate bash shell: bash
  3. Observe virtual environment is properly activated with source test-venv/bin/pacman-venv-activate
  4. Observe successful execution of test command: pacman -Qs

Expected Behavior

A pacman-venv virtual environment can be successfully created regardless of the active shell environment

Version

pacman-venv --version: Pacman Virtual Environment v0.1

Additional context

No response

Virtual env name doesn't appear in prompt when using Starship

Description

First of all, thanks SO MUCH for this project! I was looking for something exactly like this, being a Python's virtualenv enthusiast.

Small issue I found: When I activate a new pacman-venv, the name of the virtual environment will not appear in the prompt to indicate it's active.

It still seems to be working fine, since both pacman and yay binaries are the ones from the venv.

❯ which yay
/home/matmat/dev/3d-gaussian-splat/pacvenv/pacman-venv-shims/yay

❯ which pacman
/home/matmat/dev/3d-gaussian-splat/pacvenv/pacman-venv-shims/pacman

For the record, python's virtualenv show up as expected in the prompt.

❯ python3 -m virtualenv python-venv-test
❯ source python-venv-test/bin/activate

Screenshot from 2023-10-13 20-43-10

To Reproduce

Create new virtual env pacvenv: pacman-venv pacvenv
Activate it running source pacvenv/bin/pacman-venv-activate
Notice that the virtual env name does not show up in the prompt (although it's active).

Expected Behavior

No response

Version

No response

Additional context

No response

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.