From 11557e1de2e8c79c18e7858a42b84cc7bcec1f0e Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Sat, 20 Aug 2022 16:17:55 +0300 Subject: [PATCH] shell/zsh: use first param to get task idx --- shell/zsh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/shell/zsh b/shell/zsh index d726bce..37bf6d6 100644 --- a/shell/zsh +++ b/shell/zsh @@ -3,18 +3,18 @@ function __tas_task_idx() { } function __tas_show() { - tas show $(__tas_task_idx "$@") + tas show $(__tas_task_idx "$1") } function __tas_start() { if [[ "$1" != "" ]]; then - tas start $(__tas_task_idx "$@") + tas start $(__tas_task_idx "$1") fi } function __tas_remove() { if [[ "$1" != "" ]]; then - tas remove $(__tas_task_idx "$@") + tas remove $(__tas_task_idx "$1") fi }