From 434c8f43dc3958b4b283f305b8eb65e093d5c424 Mon Sep 17 00:00:00 2001 From: ge Date: Sun, 20 Oct 2024 07:26:24 +0300 Subject: [PATCH] fix executable path --- completion.bash | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/completion.bash b/completion.bash index c536cc5..2732348 100644 --- a/completion.bash +++ b/completion.bash @@ -11,13 +11,13 @@ _pt_completions() ;; -l|-label) if [[ ${COMP_WORDS[*]} =~ start ]]; then - COMPREPLY+=($(compgen -W "$(./pt labels)" -- "$cur")) + COMPREPLY+=($(compgen -W "$(pt labels)" -- "$cur")) fi ;; *) - local words=($(./pt ls -o brief) start stop signal) + local words=($(pt ls -o brief) start stop signal) if [[ ${words[*]} =~ $prev ]]; then - COMPREPLY+=($(compgen -W "$(./pt ls -o brief)" -- "$cur")) + COMPREPLY+=($(compgen -W "$(pt ls -o brief)" -- "$cur")) fi local commands='start stop ls ps help version signal labels' local invoked=()