all repos — nixfiles @ dfd4ae4e95aae89a4ca8dcc3e25c27b5e4be2158

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

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

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