diff options
author | Ibrahim Mkusa <ibrahimmkusa@gmail.com> | 2024-08-08 21:38:48 -0400 |
---|---|---|
committer | Ibrahim Mkusa <ibrahimmkusa@gmail.com> | 2024-08-08 21:38:48 -0400 |
commit | 3a6d0b415555c4f28afb250b9b7cf9cc27b0dbc9 (patch) | |
tree | 1c956855e6e50c406817053e7139fce85f6f75b0 | |
parent | 7cedae7f4b26ab357283724c662ef05a781cec7b (diff) |
cleaned up install.sh
-rwxr-xr-x | install.sh | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -11,19 +11,21 @@ if [[ -f /etc/os-release ]]; then case "$ID_LIKE" in debian) - echo "Running on debian-family. Installing core packages" + echo "Running on debian-family.." package_manager=apt - sudo $package_manager install -y vim-nox git stow curl ranger tmux + vim="vim-nox" ;; fedora) - echo "Running on debian-family. Installing core packages" + echo "Running on debian-family.." package_manager=fedora - sudo $package_manager install -y vim-enhanced git stow curl ranger tmux + vim="vim-enhanced" esac else echo "You are running an unrecognized family of os. Quitting..." exit 1 fi +echo "Installing packages" +sudo $package_manager install -y $vim git stow curl ranger tmux # use gnu stow to symlink config files to home directory stow bash git ranger shellenv tmux vim |