all repos — nixfiles @ 5b43218ebaaf4c2f27fb0f42b6044006a2fddbf5

System and user configuration, managed by nix and home-manager

user/settings/fish/functions/magit.fish (view raw)

1
2
3
4
5
6
7
8
function magit
    if set --query argv[1]
        set --function repo $argv[1]
    else
        set --function repo $pwd
    end
    emacsclient --suppress-output --eval "(magit-status \"$argv[1]\")"
end