dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit ffc9ee8ccd67f83685a28dec5da8d973604d1394
parent df2f84abe6de1ce1a6b784bc9005318f77b60aa2
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Thu, 21 Nov 2019 09:45:54 +0100

Import numpy and matplotlib in calculator

Diffstat:
M.local/bin/dropdowncalc | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/.local/bin/dropdowncalc b/.local/bin/dropdowncalc @@ -1,6 +1,10 @@ #!/bin/sh ([ -x /usr/bin/julia ] && julia) || \ -([ -x /usr/bin/ipython ] && ipython) || \ +ipython-3 -i -c 'import numpy as np; import matplotlib.pyplot as plt' || \ +ipython3 -i -c 'import numpy as np; import matplotlib.pyplot as plt' || \ ipython-3 || \ +ipython3 || \ +ipython || \ +ipython || \ python3 -q || \ python -q