diff --git a/cmd/util_fzf.go b/cmd/util_fzf.go index 28a0d49..64ecd99 100644 --- a/cmd/util_fzf.go +++ b/cmd/util_fzf.go @@ -34,7 +34,7 @@ func fzfSearchProjectAliases(searchString string) *gitlab.Project { // Get fuzzy if we don't have an exact match aliases := cache.FuzzyFindAlias(searchString) if len(aliases) > 1 { - alias = fzfAliasFromAliases(aliasAddCmd.Context(), aliases) + alias = fzfAliasFromAliases(rootCmd.Context(), aliases) } else if len(aliases) == 1 { alias = aliases[0] }