Update .config/fish/conf.d/30-lazygit.fish

This commit is contained in:
punkfairie 2024-04-17 20:27:09 -07:00
parent 02dec1bd4e
commit 9c79a2af5a
No known key found for this signature in database
GPG key ID: 284B78B49C058673

View file

@ -3,9 +3,5 @@
function lzg --wraps=lazygit
set -f configs "$XDG_CONFIG_HOME/lazygit/config.yml,$HOME/.themes/lazygit/catppuccin/themes-mergable/macchiato/pink.yml"
if test "$(pwd)" = "$HOME"
lazygit --use-config-file="$configs" --work-tree="$HOME" --git-dir="$HOME/.dot"
else
lazygit --use-config-file="$configs"
end
lazygit --use-config-file="$configs"
end