From f3114bcaede1bc80ed3f3194b3de9e3e7af0e5fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Chlo=C3=A9=20Vulquin?= Date: Sun, 21 Apr 2024 10:50:37 +0200 Subject: sh/zoxide: also alias cd To my knowledge there's no advantage to the builtin over `z`. Maybe syntax highlighting? Anyway I forget to type `z` pretty often, so just alias cd. --- dot_local/share/sh/zoxide.fish | 3 +++ 1 file changed, 3 insertions(+) (limited to 'dot_local/share/sh/zoxide.fish') diff --git a/dot_local/share/sh/zoxide.fish b/dot_local/share/sh/zoxide.fish index b62450c..6c97910 100644 --- a/dot_local/share/sh/zoxide.fish +++ b/dot_local/share/sh/zoxide.fish @@ -1,2 +1,5 @@ . hascmd zoxide || return zoxide init fish | source +function cd --wraps=z --description 'alias cd=z' + z $argv +end -- cgit v1.2.3