close
Skip to content

Use of zsh/bash syntax in ./plugins/python/venvShellHook.sh #2793

Description

@timgates42

What happened?

I notice on the commit history of this file this seems to be an ongoing struggle between zsh/bash enthusiasts and the shebang at the top of the file frustrating them. This is just yet another step in the eternal struggle. Currently the file makes use of [[ checks for user input and fails.

Steps to reproduce

1, grep '[[' ./plugins/python/venvShellHook.sh
2. head -n 1 ./plugins/python/venvShellHook.sh

Command

No response

devbox.json

Devbox version

0.17.0

Nix version

nix (Nix) 2.28.1

What system does this bug occur on?

Linux (x86-64)

Debug logs

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageIssue needs triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions