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:
@@ -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
|
||||
Reference in New Issue
Block a user