We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f32241d commit dc06f76Copy full SHA for dc06f76
1 file changed
docs/source/command_ref.rst
@@ -238,7 +238,7 @@ List or change working virtual environments
238
239
Syntax::
240
241
- workon [(-c|--cd)|(-n|--no-cd)] [environment_name]
+ workon [(-c|--cd)|(-n|--no-cd)] [environment_name|"."]
242
243
If no ``environment_name`` is given the list of available environments
244
is printed to stdout.
@@ -251,6 +251,10 @@ If ``-n`` or ``--no-cd`` is specified the working directory is **not**
251
changed to the project directory during the post-activate phase,
252
regardless of the value of ``VIRTUALENVWRAPPER_WORKON_CD``.
253
254
+If ``"."`` is passed as the environment name, the name is derived from
255
+the base name of the current working directory (contributed by Matias
256
+Saguir).
257
+
258
::
259
260
$ workon
0 commit comments