zsh: fix c alias to support 0 arguments

This commit is contained in:
2025-05-13 06:02:37 +00:00
parent e561417c7c
commit 39e9b4aa3e

View File

@@ -190,7 +190,7 @@ in
# TODO: move to `shellAliases` config?
function c() {
# list a dir after entering it
cd "$1"
cd "$@"
eza --oneline
}
function deref() {