We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34bc37c commit be9a838Copy full SHA for be9a838
completion/available/knife.completion.bash
@@ -55,12 +55,12 @@ _KAC_regen_cache() {
55
56
# cached files can't have spaces in their names
57
_KAC_get_cache_name_from_command() {
58
- echo "${@/ /_SPACE_}"
+ echo "${@// /_SPACE_}"
59
}
60
61
# the reverse operation from the function above
62
_KAC_get_command_from_cache_name() {
63
- echo "${@/_SPACE_/ }"
+ echo "${@//_SPACE_/ }"
64
65
66
# given a command as argument, it fetches the cache for that command if it can find it
0 commit comments