Skip to content

Commit

Permalink
Add alias gbl for forgit::blame in fish (#273)
Browse files Browse the repository at this point in the history
Added the alias gbl for forgit::blame to the fish wrapper, so the behavior in fish is the same as in bash/zsh. I've also deleted an empty line where there were two in a row.
  • Loading branch information
sandr01d committed Jan 10, 2023
1 parent 92ce300 commit d1a5530
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion conf.d/forgit.plugin.fish
Expand Up @@ -167,7 +167,6 @@ if test -z "$FORGIT_NO_ALIASES"
alias gbd 'forgit::branch::delete'
end


if test -n "$forgit_clean"
alias $forgit_clean 'forgit::clean'
else
Expand Down Expand Up @@ -216,4 +215,10 @@ if test -z "$FORGIT_NO_ALIASES"
alias grc 'forgit::revert::commit'
end

if test -n "$forgit_blame"
alias $forgit_blame 'forgit::blame'
else
alias gbl 'forgit::blame'
end

end

0 comments on commit d1a5530

Please sign in to comment.