Skip to content

Commit

Permalink
gbr default to date +%F
Browse files Browse the repository at this point in the history
  • Loading branch information
codepuncher committed Feb 26, 2024
1 parent 27528ec commit bbe4cba
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion shell/aliases
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ alias gs='g status -sb'
function gbn() {
gco -b "${1:-$(date +%F)}"
}
alias gbr='gb -m'
function gbr() {
gb -m "${1:-$(date +%F)}"
}
if [[ "${OSTYPE:0:6}" =~ ^linux.* ]]; then
alias git_copy_branch='gb --show-current | xclip -selection c'
elif [[ "${OSTYPE:0:6}" = 'darwin' ]]; then
Expand Down

0 comments on commit bbe4cba

Please sign in to comment.