From 6d91f49521ddc213d13e552649fe61408c12df00 Mon Sep 17 00:00:00 2001 From: rootiest Date: Mon, 11 May 2026 23:37:21 -0400 Subject: [PATCH] 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. --- functions/cdi.fish | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 functions/cdi.fish diff --git a/functions/cdi.fish b/functions/cdi.fish new file mode 100644 index 0000000..f5c563d --- /dev/null +++ b/functions/cdi.fish @@ -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