Answers for "add python to ./zshrc"

2

use python as python3 zsh

# Go into your .zshrc file. Is there a line that reads:
alias python='python3'
Posted by: Guest on August-04-2020
0

add python to path zsh

Using bash, you would have added 
PATH="$PATH:$(python3 -m site --user-base)/bin" to your .bash_profile, 
so that each bash session would have the proper directory to PATH.

In zsh, you would add that line to .zprofile instead.
Posted by: Guest on September-23-2021

Python Answers by Framework

Browse Popular Code Answers by Language