Skip to content

Commit

Permalink
git: Update gh
Browse files Browse the repository at this point in the history
  • Loading branch information
yutkat committed Sep 19, 2024
1 parent b328ce0 commit ad42fed
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .config/gh/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ aliases:
!current_branch=$(git branch --show-current) &&
gh pr merge --squash --delete-branch &&
git pull --rebase -S origin "$(basename "$(git symbolic-ref --short refs/remotes/origin/HEAD)")" &&
git switch -c $(echo ${current_branch} | cut -d "." -f 1)"."$(printf "%03d" $(expr $(echo ${current_branch} | cut -d "." -f 2) + 1))
next_branch=$(echo ${current_branch} | cut -d "." -f 1)"."$(printf "%03d" $(expr $(echo ${current_branch} | cut -d "." -f 2) + 1)) &&
git switch -c ${next_branch}
renew: |
!gh pr-quick && gh merge-and-count-up
version: "1"
1 change: 1 addition & 0 deletions .config/zsh/rc/pluginconfig/cd-gitroot_atload.zsh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
alias ca='cd-gitroot'
1 change: 1 addition & 0 deletions .config/zsh/rc/pluginlist.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ zinit wait'1' lucid \
light-mode for @ajeetdsouza/zoxide

zinit wait'1' lucid \
atload"source $ZHOMEDIR/rc/pluginconfig/cd-gitroot_atload.zsh" \
light-mode for @mollifier/cd-gitroot

zinit wait'1' lucid \
Expand Down

0 comments on commit ad42fed

Please sign in to comment.