Skip to content

Commit

Permalink
bypass the typo mechanism here, and use the appropriate git alias
Browse files Browse the repository at this point in the history
  • Loading branch information
jakebman committed Sep 17, 2024
1 parent dd65468 commit 61827cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/available/jake-implicit-commands.plugin.bash
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ function du {
function browse {
about "allow you to type the bare word 'browse' and get an automatic gh browse, while not stepping on the toes of xdg-utils's browse command (a symlink to xdg-open), which takes arguments"
if [[ "$#" -eq 0 ]]; then
if remotes | grep --quiet gitlab; then
if git remotes | grep --quiet gitlab; then
glab repo view -w "$@"
else
gh browse "$@"
Expand Down

0 comments on commit 61827cf

Please sign in to comment.