Skip to content

Commit

Permalink
fix(python): avoid local packages load
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosala committed Jul 15, 2024
1 parent 70cfff4 commit 6b8f72e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/python/python.plugin.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function pyuserpaths() {
alias pygrep='grep -nr --include="*.py"'

# Run proper IPython regarding current virtualenv (if any)
alias ipython='python3 -c "import IPython, sys; sys.exit(IPython.start_ipython())"'
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"
Expand Down

0 comments on commit 6b8f72e

Please sign in to comment.