mirror of
https://github.com/Matir/skel.git
synced 2026-05-25 21:19:09 -07:00
Use ipython when available.
This commit is contained in:
4
dotfiles/ipython.py
Normal file
4
dotfiles/ipython.py
Normal file
@@ -0,0 +1,4 @@
|
||||
import os, IPython
|
||||
os.environ['PYTHONSTARTUP'] = '' # Prevent running this again
|
||||
IPython.start_ipython()
|
||||
raise SystemExit
|
||||
3
dotfiles/zshrc.d/ipython.zsh
Normal file
3
dotfiles/zshrc.d/ipython.zsh
Normal file
@@ -0,0 +1,3 @@
|
||||
if which ipython >/dev/null 2>/dev/null ; then
|
||||
export PYTHONSTARTUP="${HOME}/.ipython.py"
|
||||
fi
|
||||
Reference in New Issue
Block a user