diff --git a/dotfiles/zshrc.d/ipython.zsh b/dotfiles/zshrc.d/ipython.zsh index 6dd7b40..11e605f 100644 --- a/dotfiles/zshrc.d/ipython.zsh +++ b/dotfiles/zshrc.d/ipython.zsh @@ -1,3 +1,3 @@ -if which ipython >/dev/null 2>/dev/null ; then +if command -v ipython >/dev/null || command -v ipython3 >/dev/null ; then export PYTHONSTARTUP="${HOME}/.ipython.py" fi