summary refs log tree commit diff stats
path: root/user/settings/fish/functions/dired.fish
blob: f69ac5e2a9c475ecb8ccddcf4ff47a93c2f0edf9 (plain)
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 -e "(dired \"$argv[1]\")"
end