diff --git a/install.sh b/install.sh index db497e8..fa4b2a8 100755 --- a/install.sh +++ b/install.sh @@ -137,6 +137,7 @@ function brethil_dotfiles_setup { # mtr: mytraceroute, traceroute tool # pv: pipe view, monitor the progress of data through a pipe # byobu: tmux wrapper + # htop: like top, but bettah packages="zsh git grc ccze bmon mtr pv tmux byobu htop" # Check if running as root, if try using sudo to install packages. @@ -164,8 +165,9 @@ function brethil_dotfiles_setup { if [[ $(which apt-get ) ]]; then install_command="${sudo}apt-get install" elif [[ $(which pacman) ]]; then - packages="$packages yay" # also install the yay aur package manager - install_command="${sudo}pacman -Sy" + pacman -Sy yay # also install the yay aur package managery + packages="$packages" + install_command="${sudo}yay -Sy" elif [[ $(which yum) ]]; then install_command="${sudo}yum" elif [[ $(which port) ]]; then