From cbd1d349a511da7a861540a5d6ea954d4d06871b Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Sat, 28 Jun 2025 19:03:01 +0900 Subject: updates --- ar/.local/bin/opentasktui | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ar/.local/bin/opentasktui') diff --git a/ar/.local/bin/opentasktui b/ar/.local/bin/opentasktui index fa9ec5c..1db6bef 100755 --- a/ar/.local/bin/opentasktui +++ b/ar/.local/bin/opentasktui @@ -4,7 +4,7 @@ current_session=$(tmux display-message -p '#S') # Parse the task description from the argument -TASK_DESCRIPTION="$1" +task_description="$1" # Create a new tmux session named 'new-task-session' and run 'tui -r current' tmux new-session -d -s new-task-session "taskwarrior-tui -r current" @@ -13,7 +13,7 @@ tmux new-session -d -s new-task-session "taskwarrior-tui -r current" sleep 0.1 # Send the keystrokes needed to filter tasks by description to the target pane -tmux send-keys -t new-task-session:1.1 "/description:$TASK_DESCRIPTION" C-m +tmux send-keys -t new-task-session:1.1 "/description:$task_description" C-m # Attach to the new session tmux switch-client -t new-task-session -- cgit v1.2.3