Fix bash_completion cache path
In change 4cf62cf3 we started writing the cache to ~/.cache/cinderclient/ - this script needs to read from there. Related-Bug: #1712835 Change-Id: Ib4de058af6b636d06ac360fe448b432e8e7733ad
This commit is contained in:
parent
2e059b6d44
commit
7ee806f218
@ -16,7 +16,7 @@ _cinder()
|
||||
fi
|
||||
|
||||
if [[ "$prev" != "help" ]] ; then
|
||||
COMPLETION_CACHE=~/.cinderclient/*/*-cache
|
||||
COMPLETION_CACHE=~/.cache/cinderclient/*/*-cache
|
||||
cflags="$_cinder_flags $_cinder_opts "$(cat $COMPLETION_CACHE 2> /dev/null | tr '\n' ' ')
|
||||
COMPREPLY=($(compgen -W "${cflags}" -- ${cur}))
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user