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.
This commit is contained in:
2026-05-11 23:37:21 -04:00
parent 2e3230974c
commit 6d91f49521
+6
View File
@@ -0,0 +1,6 @@
# 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