From 96bbded702e0f480f8b9482f6b1105109b941b3d Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Thu, 29 Feb 2024 01:44:39 -0500 Subject: [PATCH] shells/zsh: make j accept variable arguments properly --- users/modules/global/shells/zsh.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/users/modules/global/shells/zsh.nix b/users/modules/global/shells/zsh.nix index 33ed907..42161b2 100644 --- a/users/modules/global/shells/zsh.nix +++ b/users/modules/global/shells/zsh.nix @@ -42,7 +42,7 @@ if [[ $# -eq 0 ]] then \builtin cd -- "$(fd -H -t d | fzf)" else - \builtin cd -- "$(fd -H -t d | fzf -1 -q "$@")" + \builtin cd -- "$(fd -H -t d | fzf -1 -q "$*")" fi }