From a441fd6e0eb2a7e34dd6a7724d63b4a7d85717db Mon Sep 17 00:00:00 2001 From: Bartek Pacia Date: Mon, 8 Apr 2024 16:46:50 +0100 Subject: [PATCH] Revert "ofd: open the last argument passed" This reverts commit d9e948ed53a82e6fdc7a1947a4ea5c91961a879f. --- lib/functions.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/functions.zsh b/lib/functions.zsh index 83ea21a43..f5c671f9c 100644 --- a/lib/functions.zsh +++ b/lib/functions.zsh @@ -37,7 +37,7 @@ function open_command() { return fi - ${=open_cmd} "${@[-1]}" &>/dev/null + ${=open_cmd} "$@" &>/dev/null } # take functions