Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion .bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,16 @@ install_bashrc_support() {
sudo apt-get install multitail tree zoxide trash-cli fzf bash-completion fastfetch
;;
"arch")
sudo pacman -S --needed multitail tree zoxide trash-cli fzf bash-completion fastfetch
if command -v paru >/dev/null 2>&1; then
paru -S --needed multitail tree zoxide trash-cli fzf bash-completion fastfetch
elif command -v yay >/dev/null 2>&1; then
yay -S --needed multitail tree zoxide trash-cli fzf bash-completion fastfetch
elif command -v pacman >/dev/null 2>&1; then
sudo pacman -S --needed multitail tree zoxide trash-cli fzf bash-completion fastfetch
else
printf '%s\n' "No supported Arch package installer (paru, yay, or pacman) found." >&2
return 1
fi
;;
"slackware")
echo "No install support for Slackware"
Expand Down