You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 3, 2021. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -77,8 +77,9 @@ Spacefish is a minimalistic, powerful and extremely customizable <a href="https:
77
77
* Current Rust version (`𝗥`).
78
78
* Current version of Haskell GHC Compiler, defined in stack.yaml file (`λ`).
79
79
* Current Julia version (`ஃ`).
80
-
* Current Conda version (`🅒`).
81
80
* Current Amazon Web Services (AWS) profile (`☁️`) ([Using named profiles](http://docs.aws.amazon.com/cli/latest/userguide/cli-multiple-profiles.html)).
81
+
* Current Python virtualenv.
82
+
* Current Conda version (`🅒`).
82
83
* Current Python pyenv (`🐍`).
83
84
* Current .NET SDK version, through dotnet-cli (`.NET`).
Copy file name to clipboardExpand all lines: docs/Options.md
+26-12Lines changed: 26 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -218,18 +218,6 @@ Haskell section is shown only in directories that contain `stack.yaml`.
218
218
|`SPACEFISH_HASKELL_SYMBOL`|`λ·`| Character to be shown before Haskell version |
219
219
|`SPACEFISH_HASKELL_COLOR`|`red`| Color of Haskell section |
220
220
221
-
### Conda \(`conda`\)
222
-
223
-
Conda section is shown when ```conda``` is installed and $CONDA_DEFAULT_ENV is set.
224
-
225
-
| Variable | Default | Meaning |
226
-
| :------- | :-----: | ------- |
227
-
|`SPACEFISH_CONDA_SHOW`|`true`| Show current Conda version |
228
-
|`SPACEFISH_CONDA_PREFIX`|`$SPACEFISH_PROMPT_DEFAULT_PREFIX`| Prefix before the conda section |
229
-
|`SPACEFISH_CONDA_SUFFIX`|`$SPACEFISH_PROMPT_DEFAULT_SUFFIX`| Suffix after the conda section |
230
-
|`SPACEFISH_CONDA_SYMBOL`|`🅒·`| Character to be shown before Conda version |
231
-
|`SPACEFISH_CONDA_COLOR`|`blue`| Color of Conda section |
232
-
233
221
### Amazon Web Services (AWS) (`aws`)
234
222
235
223
Shows selected Amazon Web Services profile configured using [`AWS_PROFILE`](http://docs.aws.amazon.com/cli/latest/userguide/cli-multiple-profiles.html) variable.
@@ -242,6 +230,32 @@ Shows selected Amazon Web Services profile configured using [`AWS_PROFILE`](htt
242
230
|`SPACESHIP_AWS_SYMBOL`|`☁️·`| Character to be shown before AWS profile |
243
231
|`SPACESHIP_AWS_COLOR`|`ff8700`| Color of AWS section |
244
232
233
+
### Virtualenv (`venv`)
234
+
235
+
Python virtual environment when $VIRTUAL_ENV is set.
236
+
237
+
| Variable | Default | Meaning |
238
+
| :------- | :-----: | ------- |
239
+
|`SPACEFISH_VENV_SHOW`|`true`| Show current Python virtualenv or not |
240
+
|`SPACEFISH_VENV_PREFIX`|`$SPACEFISH_PROMPT_DEFAULT_PREFIX`| Prefix before the virtualenv section |
241
+
|`SPACEFISH_VENV_SUFFIX`|`$SPACEFISH_PROMPT_DEFAULT_SUFFIX`| Suffix after the virtualenv section |
242
+
|`SPACEFISH_VENV_SYMBOL`|`·`| Character to be shown before virtualenv |
243
+
|`SPACEFISH_VENV_GENERIC_NAMES`|`virtualenv venv .venv`| If the virtualenv folder is in this *array*, than use its parent directory as its name instead |
244
+
|`SPACEFISH_VENV_COLOR`|`blue`| Color of virtualenv environment section |
245
+
246
+
247
+
### Conda \(`conda`\)
248
+
249
+
Conda section is shown when ```conda``` is installed and $CONDA_DEFAULT_ENV is set.
250
+
251
+
| Variable | Default | Meaning |
252
+
| :------- | :-----: | ------- |
253
+
|`SPACEFISH_CONDA_SHOW`|`true`| Show current Conda version |
254
+
|`SPACEFISH_CONDA_PREFIX`|`$SPACEFISH_PROMPT_DEFAULT_PREFIX`| Prefix before the conda section |
255
+
|`SPACEFISH_CONDA_SUFFIX`|`$SPACEFISH_PROMPT_DEFAULT_SUFFIX`| Suffix after the conda section |
256
+
|`SPACEFISH_CONDA_SYMBOL`|`🅒·`| Character to be shown before Conda version |
257
+
|`SPACEFISH_CONDA_COLOR`|`blue`| Color of Conda section |
258
+
245
259
### Pyenv \(`pyenv`\)
246
260
247
261
Pyenv section is shown only in directories that contain `.python-version`, `requirements.txt`, `pyproject.toml`, or any other file with `.py` extension.
0 commit comments