2.home-manager/tests/modules/programs/lazygit/fish-integration-expected.fish
SunOfLife1 8929c5f3bc test/lazygit: add fish integration test
This does also add a test module for lazygit since there wasn't one
already
2025-11-06 09:06:14 -06:00

8 lines
212 B
Fish

function lg
set -x LAZYGIT_NEW_DIR_FILE ~/.lazygit/newdir
command lazygit $argv
if test -f $LAZYGIT_NEW_DIR_FILE
cd (cat $LAZYGIT_NEW_DIR_FILE)
rm -f $LAZYGIT_NEW_DIR_FILE
end
end