~rjarry/aerc#235: 
Extend z command to support other backends

aerc has the builtin z command that works with zoxide to cd to the appropriate directories. There are a couple of different implementations for the z command, like z.lua, z.sh, z, fasd, which essentially do the same thing. It would be cool if the aerc z-command could support those too.

Status
REPORTED
Submitter
Philipp Neumann
Assigned to
No-one
Submitted
1 year, 2 months ago
Updated
1 year, 1 month ago
Labels
feature

~ferdinandyb 1 year, 1 month ago

I'm pretty sure Robin would have nothing against a patch that could generalize the z command to something more configurable. I'm not familiar with the other implementations, but if they all have the same api (command query [query] and command add [path]) then it would be enough to make a z-command = zoxide configuration setting. If they have a different api, that would make it a bit more complicated I guess. The current code is in commands/z.go.

Register here or Log in to comment, or comment via email.