From 398e39b9eb2cf7ee8ec55a1cc5deb556cfff2f92 Mon Sep 17 00:00:00 2001 From: David Tomaschik Date: Sun, 11 Oct 2020 10:49:15 -0700 Subject: [PATCH] Improve ipython loader --- dotfiles/zshrc.d/ipython.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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