merge-main, neovim from source, aliases

This commit is contained in:
Jacob Bohanon
2024-03-07 08:57:49 -05:00
parent a3899f3930
commit 5cb8ae2fc1
4 changed files with 31 additions and 9 deletions

View File

@@ -28,6 +28,9 @@ else
fi
alias pls='sudo'
alias mm='merge-main.sh'
alias gmc='git merge --continue'
alias kci='git commit --allow-empty --message "kick CI" && git push'
alias cddf='cd $HOME/.dotfiles'
alias nvdf='cddf && nvim $HOME/.dotfiles/README.md'
alias cdjb='cd $HOME/src/github.com/jbohanon'

6
zsh/merge-main.sh Executable file
View File

@@ -0,0 +1,6 @@
#!/usr/bin/bash -e
branch=$(git status|head -1|cut -f3 -d\ )
git checkout main
git pull
git checkout "$branch"
git merge main