This repository was archived by the owner on Aug 11, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -20,14 +20,15 @@ Getting Started
20
20
3 . Enable autocomplete:
21
21
22
22
Add following to your ` .bashrc ` (or ` .zshrc ` ) to enable autocomplete anytime you activate your shell.
23
+ If paperspace-python was installed in a virtual environment, the following has to be added to the ` activate ` script:
23
24
24
- ` eval "$(_PAPERSPACE_PYTHON_COMPLETE=source paperspace-python)" `
25
-
26
- For other shell (eg. ` zsh ` or ` fish ` ), use proper version of ` source ` (` source_zsh ` and ` source-fish ` respectively)
27
-
28
- Alternatively, you can create activation script by:
25
+ ` eval "$(_PAPERSPACE_PYTHON_COMPLETE=source paperspace-python)" `
26
+
27
+ Alternatively, you can create activation script by:
29
28
30
- ` _PAPERSPACE_PYTHON_COMPLETE=source paperspace-python > ~/paperspace_complete.sh `
29
+ ` (_PAPERSPACE_PYTHON_COMPLETE=source paperspace-python) > ~/paperspace_complete.sh `
30
+
31
+ and then add ` . ~/paperspace_complete.sh ` to your ` .bashrc ` , ` .zshrc ` or ` activate ` script.
31
32
32
33
More: https://click.palletsprojects.com/en/7.x/bashcomplete/
33
34
4 . Download your api key by executing the following:
You can’t perform that action at this time.
0 commit comments