Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • L liquidprompt
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 33
    • Issues 33
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 15
    • Merge requests 15
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Johann Dreo
  • liquidprompt
  • Merge requests
  • !459

Display virtualenv parent dir name instead of its own.

  • Review changes

  • Download
  • Patches
  • Plain diff
Closed Johann Dreo requested to merge github/fork/romantolkachyov/feature/virtualenv-parent-name into master Jul 13, 2016
  • Overview 1
  • Commits 2
  • Pipelines 0
  • Changes 3

Created by: romantolkachyov

I'm always create virtualenv with name venv inside project. Also I used virtualenvs --prompt argument to specify name for my venv (because it venv in every project). But it doesn't work with liquidprompt because it rewrites PS1.

So I've added an option LP_VIRTUALENV_PARENT (default to 0). If enabled, liquidprompt will display venv parent dir name instead of fixed in my case.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/romantolkachyov/feature/virtualenv-parent-name