9
1
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-10-08 00:47:20 +02:00
qp2/bin/qpsh

17 lines
292 B
Plaintext
Raw Normal View History

2019-01-25 11:39:31 +01:00
#!/bin/bash
2023-04-18 14:34:11 +02:00
REALPATH=$( cd "$(dirname "$0")" ; pwd -P )
export QP_ROOT=${REALPATH}/..
2019-01-25 11:39:31 +01:00
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 $@