9
1
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-12-22 03:23:29 +01:00

Finally fixed completion of qp set_file

This commit is contained in:
Anthony Scemama 2024-12-18 11:21:37 +01:00
parent a61f6291da
commit 31ddd20bf9

View File

@ -198,7 +198,7 @@ _qp_Complete()
do
dir_name=${i%/.version} # Remove the ".version" suffix
dir_name=${dir_name#./} # Remove the leading "./"
dirs+="./$dir_name "
dirs+="$dir_name "
done
COMPREPLY=( $(compgen -W "$dirs" -- ${cur} ) )