mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 16:34:47 +01:00
10 lines
259 B
Bash
Executable file
10 lines
259 B
Bash
Executable file
#!/bin/sh
|
|
|
|
# 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 /usr/bin/env PYTHONUNBUFFERED=1 python3 -u -m xonsh $@
|