feat: ability to use lazygit for yadm

This commit is contained in:
Ted Kulp
2024-08-14 07:34:36 -04:00
parent a3e3ec7ea3
commit c4fe470890
2 changed files with 4 additions and 0 deletions

3
.config/yadm/lazygit.yml Normal file
View File

@@ -0,0 +1,3 @@
keybinding:
files:
toggleStagedAll: "<c-a>" # avoid "stage/unstage all" since it hangs lazygit, cause I guess it tries to list all files

View File

@@ -1,6 +1,7 @@
alias ghm='git push heroku master'
alias gpp='git pull origin "(git_current_branch)" && git push origin "(git_current_branch)"'
alias gfap='git pull --all -p'
alias ly='lazygit --use-config-file "$HOME/.config/yadm/lazygit.yml,$HOME/Library/Application Support/lazygit/config.yml" --work-tree ~ --git-dir ~/.local/share/yadm/repo.git'
function gctest () {
local branch="${1:-master}"