xonsh/scripts/xon.sh

11 lines
229 B
Bash
Raw Normal View History

2016-06-16 10:35:26 -04:00
#!/bin/sh
2016-07-22 20:55:30 -04:00
# set locale if it is totally undefined
if [ -z "${LC_ALL+x}" ] && [ -z "${LC_CTYPE+x}" ] && \
[ -z "${LANG+x}" ] && [ -z "${LANGUAGE+x}" ]; then
export LANG=C.UTF-8
fi
# run python
exec python3 -u -m xonsh "$@"