From 7ee806f218cb22972a60d4e38ba1a4078e383f60 Mon Sep 17 00:00:00 2001 From: Eric Harney Date: Wed, 20 Feb 2019 10:14:08 -0500 Subject: 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 --- tools/cinder.bash_completion | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/cinder.bash_completion b/tools/cinder.bash_completion index 60127b1..4dbc779 100644 --- a/tools/cinder.bash_completion +++ b/tools/cinder.bash_completion @@ -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 -- cgit v1.2.1