10
0
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-06-20 04:02:22 +02:00
QuantumPackage/bin/qpsh
2019-01-25 11:39:31 +01:00

16 lines
250 B
Bash
Executable File

#!/bin/bash
export QP_ROOT=$(dirname $0)/..
bash --init-file <(cat << EOF
[[ -f /etc/bashrc ]] && source /etc/bashrc
[[ -f ${HOME}/.bashrc ]] && source ${HOME}/.bashrc
source ${QP_ROOT}/quantum_package.rc
qp prompt
EOF
) -i $@