Unverified Commit 486cf147 authored by Mark Vander Stel's avatar Mark Vander Stel
Browse files

Add missing Ruby VENV template section in docs

This was missed in the PR for the Ruby Virtualenv section.
The order in the docs for Terraform and Kubecontext was backwards from
the order in the code.
Moved parts of the PS1 building to different lines to make it easier to
read and add new sections.

Resolves #676
parent f0442e87
......@@ -187,10 +187,10 @@ default order if the user does not configure a different template.
The current Python (or Conda) virtual environment. See
.. attribute:: LP_KUBECONTEXT
.. attribute:: LP_RUBY_VENV
The current Kubernetes context. See
The current Ruby virtual environment. See
.. versionadded:: 2.1
......@@ -200,6 +200,13 @@ default order if the user does not configure a different template.
.. versionadded:: 2.1
.. attribute:: LP_KUBECONTEXT
The current Kubernetes context. See
.. versionadded:: 2.1
.. attribute:: LP_PROXY
A ↥ (:attr:`LP_MARK_PROXY`) if an HTTP proxy is in use. See
......@@ -2904,10 +2904,10 @@ _lp_default_theme_prompt_template() {
if [[ -z "${LP_PS1-}" ]]; then
# add title escape time, jobs, load and battery
# add user, host and permissions colon
# add user, host, permissions colon, working directory, and dirstack
# Add VCS infos
# If root, the info has not been collected unless LP_ENABLE_VCS_ROOT
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment