mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-08-14 00:48:39 +02:00
fix(python)!: remove harmful ipython
alias (#12676)
BREAKING CHANGE: the `ipython` alias was incorrectly trying to manually call ipython from the installed module in the virtual environment, when actually a command already exists when loading the virtual environment. This change removes the unnecessary alias and allows calling the right command. Fixes #12676
This commit is contained in:
@ -43,9 +43,6 @@ function pyuserpaths() {
|
||||
# Grep among .py files
|
||||
alias pygrep='grep -nr --include="*.py"'
|
||||
|
||||
# Run proper IPython regarding current virtualenv (if any)
|
||||
alias ipython='python3 -c "import sys; del sys.path[0]; import IPython; sys.exit(IPython.start_ipython())"'
|
||||
|
||||
# Share local directory as a HTTP server
|
||||
alias pyserver="python3 -m http.server"
|
||||
|
||||
|
Reference in New Issue
Block a user