diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-02-17 02:48:36 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-02-17 02:48:36 +0900 |
| commit | 8dad6bd19dddc9115e18c15f08b062fbed992939 (patch) | |
| tree | 06ea72879c38800b2eab82582279b9918ace1268 /ar/.local/bin/gitopenbranch | |
| parent | e40abb09643c425071258b73dc41c39a42d257ca (diff) | |
modified bin/gitopenbranch, modified bin/rbackup, modified bin/shortcuts
Diffstat (limited to 'ar/.local/bin/gitopenbranch')
| -rwxr-xr-x | ar/.local/bin/gitopenbranch | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ar/.local/bin/gitopenbranch b/ar/.local/bin/gitopenbranch index 56c8d12..a3a32d4 100755 --- a/ar/.local/bin/gitopenbranch +++ b/ar/.local/bin/gitopenbranch @@ -17,7 +17,8 @@ esac # Check if inside a git repository if git rev-parse --is-inside-work-tree >/dev/null 2>&1; then current_branch=$(git rev-parse --abbrev-ref HEAD) - gh repo view --branch "$current_branch" --web || $open_cmd "$(gh repo view --branch "$current_branch" --json url -q '.url')" + # Open in browser, suppressing all output + nohup gh repo view --branch "$current_branch" --web >/dev/null 2>&1 & else echo "Not a git repository." exit 1 |
