diff --git a/bin/qp_reset b/bin/qp_reset index 59646835..70cc7c9f 100755 --- a/bin/qp_reset +++ b/bin/qp_reset @@ -95,6 +95,7 @@ qp set_file $ezfio if [[ $dets -eq 1 ]] ; then rm --force -- ${ezfio}/determinants/n_det rm --force -- ${ezfio}/determinants/psi_{det,coef}.gz + rm --force -- ${ezfio}/determinants/n_det_qp_edit rm --force -- ${ezfio}/determinants/psi_{det,coef}_qp_edit.gz fi diff --git a/etc/qp.rc b/etc/qp.rc index fd9b4031..5b2aa9a6 100644 --- a/etc/qp.rc +++ b/etc/qp.rc @@ -170,7 +170,7 @@ _qp_Complete() COMPREPLY=( $(compgen -W "" -- $cur ) ) return 0;; -b) - COMPREPLY=( $(compgen -W "$( cut -d ' ' -f 1 ${QP_ROOT}/data/basis/00_README.rst | grep -v \'#\' )" -- $cur ) ) + COMPREPLY=( $(compgen -W "$(ls ${QP_ROOT}/data/basis)" -- $cur ) ) return 0 ;; -p)