Skip to content

Commit

Permalink
Disable Node.js virtualenv by default
Browse files Browse the repository at this point in the history
Resolves #707
Related: #298
  • Loading branch information
Rycieos committed May 20, 2022
1 parent 8237516 commit 0234eb1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/config.rst
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ Features

.. attribute:: LP_ENABLE_NODE_VENV
:type: bool
:value: 1
:value: 0

Display the currently activated nodeenv_ or NVM_ virtual environment.

Expand Down
2 changes: 1 addition & 1 deletion docs/functions/data.rst
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ Development Environment
Returns ``true`` if a Node.js environment is detected. Returns the virtual
environment name.

Can be disabled by :attr:`LP_ENABLE_NODE_VENV`.
Can be enabled by :attr:`LP_ENABLE_NODE_VENV`.

.. versionadded:: 2.1

Expand Down
2 changes: 1 addition & 1 deletion liquidprompt
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ __lp_source_config() {
LP_ENABLE_RUNTIME=${LP_ENABLE_RUNTIME:-1}
LP_ENABLE_RUNTIME_BELL=${LP_ENABLE_RUNTIME_BELL:-0}
LP_ENABLE_VIRTUALENV=${LP_ENABLE_VIRTUALENV:-1}
LP_ENABLE_NODE_VENV=${LP_ENABLE_NODE_VENV:-1}
LP_ENABLE_NODE_VENV=${LP_ENABLE_NODE_VENV:-0}
LP_ENABLE_RUBY_VENV=${LP_ENABLE_RUBY_VENV:-1}
LP_RUBY_RVM_PROMPT_OPTIONS=( ${LP_RUBY_RVM_PROMPT_OPTIONS[@]+"${LP_RUBY_RVM_PROMPT_OPTIONS[@]}"} )
[[ ${#LP_RUBY_RVM_PROMPT_OPTIONS[@]} == 0 ]] && LP_RUBY_RVM_PROMPT_OPTIONS=(i v g s)
Expand Down

0 comments on commit 0234eb1

Please sign in to comment.