This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # | |
| # Copy this script to ~/.local/bin/zed-gerrit-provider.sh | |
| # | |
| # gerrit - Script for Gerrit permalink & PR link support | |
| case "${1:-}" in | |
| open-review) | |
| # Opens Gerrit review for selected Change-ID | |
| if [ -z "${ZED_SELECTED_TEXT:-}" ]; then |