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:
parent
a61f6291da
commit
31ddd20bf9
@ -198,7 +198,7 @@ _qp_Complete()
|
|||||||
do
|
do
|
||||||
dir_name=${i%/.version} # Remove the ".version" suffix
|
dir_name=${i%/.version} # Remove the ".version" suffix
|
||||||
dir_name=${dir_name#./} # Remove the leading "./"
|
dir_name=${dir_name#./} # Remove the leading "./"
|
||||||
dirs+="./$dir_name "
|
dirs+="$dir_name "
|
||||||
done
|
done
|
||||||
|
|
||||||
COMPREPLY=( $(compgen -W "$dirs" -- ${cur} ) )
|
COMPREPLY=( $(compgen -W "$dirs" -- ${cur} ) )
|
||||||
|
Loading…
Reference in New Issue
Block a user