Commit 0dc8cfda authored by Akim Demaille's avatar Akim Demaille
Browse files

vcsn: directly open notebooks and Python scripts

parent 60286221
......@@ -226,6 +226,9 @@ case $1 in
(ipython) shift; exec "$IPYTHON" "$@";;
(python*|ipython*|jupyter*) exec "$@";;
(*.ipynb) exec vcsn-notebook "$@";;
(*.py) exec "$PYTHON" "$@";;
(*)
if echo "$1" | grep -E "$(commands_pattern)" >/dev/null; then
exec vcsn-tools "$@"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment