10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-09-27 03:51:01 +02:00
This commit is contained in:
Anthony Scemama 2019-01-15 01:28:04 +01:00
parent 88b1f6ff32
commit 7408fe1b75

View File

@ -20,13 +20,13 @@ Usage:
qp set DIRECTORY ITEM : Array values read from stdin qp set DIRECTORY ITEM : Array values read from stdin
qp run PROGRAM qp run PROGRAM
qp man PROGRAM qp man PROGRAM
qp srun PROGRAM qp srun PROGRAM
qp mpirun PROGRAM qp mpirun PROGRAM
qp set_frozen_core qp set_frozen_core
qp create_ezfio_from_xyz qp create_ezfio_from_xyz
qp convert_output_to_ezfio qp convert_output_to_ezfio
qp update qp update
qp set_mo_class qp set_mo_class
@ -52,7 +52,7 @@ function qp()
# Replace ':' by spaces # Replace ':' by spaces
for arg in "$@" ; do for arg in "$@" ; do
case $arg in case $arg in
*:*) *:*)
_ARGS+=("\"${arg//:/ }\"") ;; _ARGS+=("\"${arg//:/ }\"") ;;
*) *)
_ARGS+=("${arg}") ;; _ARGS+=("${arg}") ;;
@ -76,12 +76,12 @@ function qp()
"set_mo_class") "set_mo_class")
shift shift
qp_set_mo_class "$@" -- ${EZFIO_FILE} qp_set_mo_class "$@" -- ${EZFIO_FILE}
;; ;;
"edit") "edit")
shift shift
qp_edit "$@" -- ${EZFIO_FILE} qp_edit "$@" -- ${EZFIO_FILE}
;; ;;
"run") "run")
@ -115,7 +115,7 @@ function qp()
} }
PS1="\$(_check_ezfio)\n$PS1" PS1="\$(_check_ezfio)\n$PS1"
;; ;;
"plugins") "plugins")
shift shift
qp_plugins $@ qp_plugins $@
@ -130,7 +130,7 @@ function qp()
_qp_usage _qp_usage
;; ;;
esac esac
} }
@ -213,7 +213,7 @@ _qp_Complete()
uninstall) uninstall)
COMPREPLY=( $(compgen -W "$(qp_plugins list -i)" -- $cur ) ) COMPREPLY=( $(compgen -W "$(qp_plugins list -i)" -- $cur ) )
return 0;; return 0;;
create) create)
COMPREPLY=( $(compgen -W "-n " -- $cur ) ) COMPREPLY=( $(compgen -W "-n " -- $cur ) )
return 0;; return 0;;
*) *)