@@ -17,8 +17,20 @@ Getting Started
1717 To install/update prerelease (Alpha/Beta) version version of paperspace-python, use:
1818
1919 ` pip install -U --pre paperspace `
20-
21- 3 . Download your api key by executing the following:
20+ 3 . Enable autocomplete:
21+
22+ Add following to your ` .bashrc ` (or ` .zshrc ` ) to enable autocomplete anytime you activate your shell.
23+
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:
29+
30+ ` (_PAPERSPACE_PYTHON_COMPLETE=source paperspace-python > ~/paperspace_complete.sh `
31+
32+ More: https://click.palletsprojects.com/en/7.x/bashcomplete/
33+ 4 . Download your api key by executing the following:
2234
2335 ` paperspace-python login `
2436
@@ -33,7 +45,7 @@ Getting Started
3345
3446 ` paperspace-python logout `
3547
36- 4 . Run the sample script hello.py using Python:
48+ 5 . Run the sample script hello.py using Python:
3749
3850 ` python hello.py `
3951
@@ -49,7 +61,7 @@ Getting Started
4961
5062 Note: the source is modified before transfer to the job cluster in order to remove imported `paperspace` references.
5163
52- 5 . Use paperspace-python to run a python script remotely:
64+ 6 . Use paperspace-python to run a python script remotely:
5365
5466 `paperspace-python run myscript.py`
5567
0 commit comments