2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-11-30 06:12:21 +00:00

Fix issues with various '/' included in tab completion

This commit is contained in:
Jarrod Johnson
2026-10-29 10:12:20 -04:00
parent 472ea95314
commit 302afc5b06
+3 -3
View File
@@ -172,10 +172,10 @@ function _confluent_osdeploy_complete
_confluent_directory_complete
end
case updateboot rebase
printf '%s\n' -n (confetty show /deployment/profiles | string replace -r '^/' '')
printf '%s\n' -n (confetty show /deployment/profiles | string replace -r '/' '')
case export
if test $count -eq 3
printf '%s\n' -n (confetty show /deployment/profiles | string replace -r '^/' '')
printf '%s\n' -n (confetty show /deployment/profiles | string replace -r '/' '')
else
_confluent_directory_complete
end
@@ -215,7 +215,7 @@ end
function _confluent_nodedeploy_complete
if test (_confluent_arg_count) -gt 2
printf '%s\n' -n (confetty show /deployment/profiles | string replace -r '^/' '')
printf '%s\n' -n (confetty show /deployment/profiles | string replace -r '/' '')
else
_confluent_nr_complete
end