gh
gh copied to clipboard
Fix fish repositories completion
In fish shell tab completions for users worked file but tab completion for repositories gave an empty response. This is because of the line string join \n $repos | sort | uniq -du
. uniq -d
prints only duplicate lines and uniq -u
prints only unique lines so uniq -du
will always return an empty string.