From a249f93641e52bdc4c8d27ecb994367421d8715d Mon Sep 17 00:00:00 2001 From: Digital Studium Date: Sat, 9 Mar 2024 19:31:40 +0300 Subject: [PATCH] feat(apt_search_and_install.sh): add support for fuzzy search of packages using fzf tool feat(install_software.sh): add fzf and locales to the list of software to install, and update locale generation commands --- apt_search_and_install.sh | 1 + install_software.sh | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100755 apt_search_and_install.sh diff --git a/apt_search_and_install.sh b/apt_search_and_install.sh new file mode 100755 index 0000000..ad99332 --- /dev/null +++ b/apt_search_and_install.sh @@ -0,0 +1 @@ +apt-cache search '' | sort | cut --delimiter ' ' --fields 1 | fzf --multi --cycle --reverse --preview 'apt-cache show {1}' | xargs -r sudo apt install -y diff --git a/install_software.sh b/install_software.sh index a68a565..8d45171 100755 --- a/install_software.sh +++ b/install_software.sh @@ -29,7 +29,8 @@ obs-studio `# for screen recording` \ python3-pip `# pip` \ tensorrt-libs \ bat \ -locales +locales \ +fzf sudo locale-gen ru_RU sudo locale-gen ru_RU.UTF-8