This command displays a quick reference list of common pyenv operations, helping you quickly review and use various pyenv features.
To make the pyenv-cheat command available every time you open a new terminal window, you can add it to your .zshrc file:
-
Open the .zshrc file:
nano ~/.zshrc
-
Add the following line at the end of the file:
alias pyenv-cheat='path/to/pyenv-cheat-script'
Replace 'path/to/pyenv-cheat-script' with the actual path to the script.
-
Save and close the file.
-
Reload the .zshrc file:
source ~/.zshrc
Now you can use the pyenv-cheat command in any terminal window.