summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorEric Harney <eharney@redhat.com>2019-02-20 10:14:08 -0500
committerEric Harney <eharney@redhat.com>2019-02-20 10:15:56 -0500
commit7ee806f218cb22972a60d4e38ba1a4078e383f60 (patch)
treeb0433bd6becbb914881ab6c7ffd998878d8ee184 /tools
parent2e059b6d44238efb0e90685d0abe6b0e1b2d8e7f (diff)
downloadpython-cinderclient-7ee806f218cb22972a60d4e38ba1a4078e383f60.tar.gz
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
Diffstat (limited to 'tools')
-rw-r--r--tools/cinder.bash_completion2
1 files changed, 1 insertions, 1 deletions
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