From 8babb5a29058fbd593c5bfdfefeaaac1345b3ab4 Mon Sep 17 00:00:00 2001 From: zenobit Date: Wed, 25 Sep 2024 13:19:17 +0200 Subject: [PATCH] fix open homepage --- q | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/q b/q index e3c1b13..29b45db 100755 --- a/q +++ b/q @@ -468,8 +468,9 @@ ssh_into() { } open_distro_homepage(){ - gum_filter_os - "$QUICKGET" -o "${os}" >/dev/null 2>&1 & + os=$("$QUICKGET" | awk 'NR==2,/zorin/' | cut -d':' -f2 | grep -o '[^ ]*') + choice=$(gum filter ${os}) + "$QUICKGET" --open-homepage "${choice}" 2>&1 & } kill_vm() {