Skip to content

Commit

Permalink
remove RADIX_ from available variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard87 committed Sep 26, 2024
1 parent a8c93a2 commit eb0c83b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/utils/completion/variable.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func VariableCompletion(cmd *cobra.Command, _ []string, toComplete string) ([]st
}

filteredNames := slices.Filter(nil, names, func(name string) bool {
return strings.HasPrefix(name, toComplete)
return strings.HasPrefix(name, toComplete) && !strings.HasPrefix(name, "RADIX_")
})

return filteredNames, cobra.ShellCompDirectiveNoFileComp
Expand Down

0 comments on commit eb0c83b

Please sign in to comment.