From 356736ff2b933a15696119378f241cbafccf7d9f Mon Sep 17 00:00:00 2001 From: Digital Studium Date: Fri, 29 Mar 2024 10:32:32 +0300 Subject: [PATCH] Fix path for a --- a | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/a b/a index 789e30b..387ab66 100755 --- a/a +++ b/a @@ -12,7 +12,7 @@ if [[ $action == "Install" || $action == "Remove" ]]; then package=$(apt-cache search '' | sort | cut --delimiter ' ' --fields 1 | fzf --multi --cycle --reverse --preview 'apt-cache show {1}') sudo apt ${action,,} $package -y elif [[ $action == "Install from .deb file" ]]; then - find ~ -name "*.deb" | fzf | xargs -I _ sudo apt install -y _ + find . -name "*.deb" | fzf | xargs -I _ sudo apt install -y _ elif [[ $action == "Update" || $action == "Upgrade" || $action == "Autoremove" ]]; then sudo apt ${action,,} -y fi