]> git.r.bdr.sh - rbdr/dotfiles/commitdiff
Add essential provisioning
authorRuben Beltran del Rio <redacted>
Mon, 28 Jun 2021 18:10:59 +0000 (20:10 +0200)
committerRuben Beltran del Rio <redacted>
Mon, 28 Jun 2021 18:10:59 +0000 (20:10 +0200)
install_dotfiles
provisioning/apt_essential [new file with mode: 0644]
provisioning/brew_essential [new file with mode: 0644]
provisioning/brew_nice [new file with mode: 0644]

index d534bafef3bcdc5f5e421443243c03ca656aca5d..b4fa7f8e8989a394bf0321a1b350f36c4b3d4d3e 100755 (executable)
@@ -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 (file)
index 0000000..4106d85
--- /dev/null
@@ -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 (file)
index 0000000..c1bd703
--- /dev/null
@@ -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 (file)
index 0000000..6f3bc86
--- /dev/null
@@ -0,0 +1,14 @@
+cowsay
+exiftool
+exiv2
+ffmpeg
+figlet
+graphviz
+hr
+id3tool
+imagemagick
+nethack
+ntfs-3g
+telnet
+tldr
+weechat