Files
fish-config/functions/cdi.fish
T
rootiest 6d91f49521 fix(completions): add cdi function as alias for zi
cdi was documented and expected to work as an interactive zoxide
directory picker but was never defined as a function, causing it
to silently fail. Wraps zi so completions are inherited correctly.
2026-05-11 23:37:21 -04:00

7 lines
195 B
Fish

# Copyright (C) 2026 Rootiest
# SPDX-License-Identifier: AGPL-3.0-or-later
function cdi --wraps zi --description 'Interactively jump to a directory using zoxide (alias for zi)'
zi $argv
end