Jan 13, 2022
Setup IPython shell to zsh Mac Terminal
Install IPython into the system first by typing:
python3 -m pip install IPython
Now open zsh config file with the command:
python3 -m pip install IPython
Now configure .zshrc file to start ipython shell with shortcut key e.g: ipy
step-1: open .zshrc config file with command
nano ~/.zshrc
Add line in the end of the file as:
alias ipy="python3 -m IPython"
Here “ipy” is set to the command shortcut and save the file by pressing control+x and pressing y for yes and hit enter button.
Now source the .zshrc file with the command:
source ~/.zshrc
Now type ipy and it will start the IPython shell.
That’s it.