This commit is contained in:
Paul Irish 2025-07-04 12:27:46 -07:00
parent d892c4bbf2
commit 6b98834931
No known key found for this signature in database
GPG key ID: 047F4C1E64AD96C0

View file

@ -87,6 +87,7 @@ _browse_branches() {
review_url=$(echo "$CL_STATUS" | grep -E "\b${branch_name}\b" | grep -o -E 'https://.*' | sed 's|https://||')
# Using fancy integrated hyperlinks: https://iterm2.com/feature-reporting/Hyperlinks_in_Terminal_Emulators.html
# TODO: maybe get rid of the crrev.com/c/ text as the link?
# TODO: use `git config branch.$(git rev-parse --abbrev-ref HEAD).gerritissue` and gerritserver to avoid using `git cl status`
printf "$YELLOW%s $DIM\033]8;;%s\a%s\033]8;;\a$NC\n" "$branch_name" "https://$review_url" "$review_url"
done \
| fzf \