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
This commit is contained in:
Digital Studium 2024-03-09 19:31:40 +03:00
parent cf57ab492d
commit a249f93641
2 changed files with 3 additions and 1 deletions

1
apt_search_and_install.sh Executable file
View File

@ -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

View File

@ -29,7 +29,8 @@ obs-studio `# for screen recording` \
python3-pip `# pip` \ python3-pip `# pip` \
tensorrt-libs \ tensorrt-libs \
bat \ bat \
locales locales \
fzf
sudo locale-gen ru_RU sudo locale-gen ru_RU
sudo locale-gen ru_RU.UTF-8 sudo locale-gen ru_RU.UTF-8