From: Ruben Beltran del Rio Date: Mon, 28 Jun 2021 18:10:59 +0000 (+0200) Subject: Add essential provisioning X-Git-Url: https://git.r.bdr.sh/rbdr/dotfiles/commitdiff_plain/484003107180c171a169999e7a8eb161db509071?ds=sidebyside Add essential provisioning --- diff --git a/install_dotfiles b/install_dotfiles index d534baf..b4fa7f8 100755 --- a/install_dotfiles +++ b/install_dotfiles @@ -1,5 +1,19 @@ #!/usr/bin/env sh +echo "Installing essential software" + +if command -v brew &> /dev/null; then + cat ./provisioning/brew_essential | xargs brew install +else + if command -v apt &> /dev/null; then + echo "Warning: ASDF needs to be installed manually" + cat ./provisioning/apt_essential | xargs apt install + else + echo "Error: No valid package manager. Make sure brew or apt are available." + exit 1 + fi +fi + echo "Linking runcoms" # hush login diff --git a/provisioning/apt_essential b/provisioning/apt_essential new file mode 100644 index 0000000..4106d85 --- /dev/null +++ b/provisioning/apt_essential @@ -0,0 +1,13 @@ +bat +curl +fd-find +fzf +gpg +htop +ripgrep +rsync +tmux +tree +vim +wget +zsh diff --git a/provisioning/brew_essential b/provisioning/brew_essential new file mode 100644 index 0000000..c1bd703 --- /dev/null +++ b/provisioning/brew_essential @@ -0,0 +1,17 @@ +asdf +bat +curl +fd +fortune +fzf +gnupg +htop +ripgrep +tmux +tree +v +vim +watch +wget +z +zsh diff --git a/provisioning/brew_nice b/provisioning/brew_nice new file mode 100644 index 0000000..6f3bc86 --- /dev/null +++ b/provisioning/brew_nice @@ -0,0 +1,14 @@ +cowsay +exiftool +exiv2 +ffmpeg +figlet +graphviz +hr +id3tool +imagemagick +nethack +ntfs-3g +telnet +tldr +weechat