mirror of
https://github.com/QuantumPackage/qp2.git
synced 2024-12-22 20:34:58 +01:00
17 lines
292 B
Bash
Executable File
17 lines
292 B
Bash
Executable File
#!/bin/bash
|
|
|
|
REALPATH=$( cd "$(dirname "$0")" ; pwd -P )
|
|
export QP_ROOT=${REALPATH}/..
|
|
|
|
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 $@
|
|
|
|
|
|
|
|
|