File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -238,7 +238,7 @@ List or change working virtual environments
238
238
239
239
Syntax::
240
240
241
- workon [(-c|--cd)|(-n|--no-cd)] [environment_name]
241
+ workon [(-c|--cd)|(-n|--no-cd)] [environment_name|"." ]
242
242
243
243
If no ``environment_name `` is given the list of available environments
244
244
is printed to stdout.
@@ -251,6 +251,10 @@ If ``-n`` or ``--no-cd`` is specified the working directory is **not**
251
251
changed to the project directory during the post-activate phase,
252
252
regardless of the value of ``VIRTUALENVWRAPPER_WORKON_CD ``.
253
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
+
254
258
::
255
259
256
260
$ workon
You can’t perform that action at this time.
0 commit comments