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 e001384 commit e421419Copy full SHA for e421419
pgbackrest-completion.sh
@@ -52,7 +52,7 @@ __pgbackrest_repo_content() {
52
# archive/
53
# archive/dem
54
# archive/demo/arch
55
- [[ ${cur} =~ ${folder_regex} || ${cur%\/*} =~ ${path_regex} ]] && cur_value=${cur%/*} && substr_path="true"
+ [[ ${cur} =~ ${folder_regex} || ${cur} =~ ${path_regex} ]] && cur_value=${cur%/*} && substr_path="true"
56
# Get repo content by using 'repo-ls' in json format.
57
# For 'repo-get', the content is also obtained via 'repo-ls'.
58
# The logic for type 'link' is equivalent to type 'path'.
@@ -165,4 +165,4 @@ _pgbackrest() {
165
esac
166
}
167
168
-complete -F _pgbackrest pgbackrest
+complete -F _pgbackrest pgbackrest
0 commit comments