From c058edf67d703e5adc22f2953cdcdd696b969f41 Mon Sep 17 00:00:00 2001 From: iceyrazor Date: Sat, 19 Sep 2026 18:21:43 -0500 Subject: Squashed commit of the following: added vis plugin downloader fixed env scripts changed get-reqs priority priority in runs symlinks :> --- runs/48-get-reqs-arch.sh | 14 ++++++++++++++ runs/50-env.sh | 27 +++++++++++++++++++++++++++ runs/51-packer.sh | 8 ++++++++ runs/env.sh | 15 --------------- runs/get-reqs-arch.sh | 14 -------------- runs/packer.sh | 8 -------- 6 files changed, 49 insertions(+), 37 deletions(-) create mode 100755 runs/48-get-reqs-arch.sh create mode 100755 runs/50-env.sh create mode 100755 runs/51-packer.sh delete mode 100755 runs/env.sh delete mode 100755 runs/get-reqs-arch.sh delete mode 100755 runs/packer.sh (limited to 'runs') diff --git a/runs/48-get-reqs-arch.sh b/runs/48-get-reqs-arch.sh new file mode 100755 index 0000000..636863f --- /dev/null +++ b/runs/48-get-reqs-arch.sh @@ -0,0 +1,14 @@ +#!/bin/sh +. /etc/os-release +if [ "$ID" = "artix" ] || [ "$ID" = "arch" ]; then + sudo="sudo" + which doas > /dev/null && sudo="doas" + + echo GETTING MIN REQS + + $sudo pacman -S vis # separated incase i have it allready elsewhere + $sudo pacman -S rsync man-db wget git fzf + $sudo pacman -S lf ugrep + + echo ------------- +fi diff --git a/runs/50-env.sh b/runs/50-env.sh new file mode 100755 index 0000000..0e4fb66 --- /dev/null +++ b/runs/50-env.sh @@ -0,0 +1,27 @@ +#!/bin/sh + +echo DEPLOYING ENV + +if [ "$CREATE_SYMLINKS" = 1 ]; then + cp -s "$script_dir/env/.bashrc" "$DEV_ENV" + cp -s "$script_dir/env/.bash_profile" "$DEV_ENV" + cp -s "$script_dir/env/.vimrc" "$DEV_ENV" + mkdir "$DEV_ENV/.config" + cp -s "$script_dir/env/.config/.profile" "$DEV_ENV/.config" + cp -rs "$script_dir/env/.config/nvim" "$DEV_ENV/.config" + cp -rs "$script_dir/env/.config/vis" "$DEV_ENV/.config" + cp -rs "$script_dir/env/.config/tmux" "$DEV_ENV/.config" + cp -rs "$script_dir/env/.config/wezterm" "$DEV_ENV/.config" +else + cp "$script_dir/env/.bashrc" "$DEV_ENV" + cp "$script_dir/env/.bash_profile" "$DEV_ENV" + cp "$script_dir/env/.vimrc" "$DEV_ENV" + mkdir "$DEV_ENV/.config" + cp "$script_dir/env/.config/.profile" "$DEV_ENV/.config" + cp -r "$script_dir/env/.config/nvim" "$DEV_ENV/.config" + cp -r "$script_dir/env/.config/vis" "$DEV_ENV/.config" + cp -r "$script_dir/env/.config/tmux" "$DEV_ENV/.config" + cp -r "$script_dir/env/.config/wezterm" "$DEV_ENV/.config" +fi + +echo "-----------------" diff --git a/runs/51-packer.sh b/runs/51-packer.sh new file mode 100755 index 0000000..6785682 --- /dev/null +++ b/runs/51-packer.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +echo DOWNLOADING PACKER FOR NVIM + +git clone --depth 1 https://github.com/wbthomason/packer.nvim \ +~/.local/share/nvim/site/pack/packer/start/packer.nvim + +echo ---------- diff --git a/runs/env.sh b/runs/env.sh deleted file mode 100755 index 7f34098..0000000 --- a/runs/env.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh - -echo DEPLOYING ENV - -cp "$script_dir/env/.bashrc" "$DEV_ENV" -cp "$script_dir/env/.bash_profile" "$DEV_ENV" -cp "$script_dir/env/.vimrc" "$DEV_ENV" -mkdir "$DEV_ENV/.config" -cp "$script_dir/env/.config/.profile" "$DEV_ENV/.config" -cp -r "$script_dir/env/.config/nvim" "$DEV_ENV/.config" -cp -r "$script_dir/env/.config/vis" "$DEV_ENV/.config" -cp -r "$script_dir/env/.config/tmux" "$DEV_ENV/.config" -cp -r "$script_dir/env/.config/wezterm" "$DEV_ENV/.config" - -echo "-----------------" diff --git a/runs/get-reqs-arch.sh b/runs/get-reqs-arch.sh deleted file mode 100755 index 636863f..0000000 --- a/runs/get-reqs-arch.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh -. /etc/os-release -if [ "$ID" = "artix" ] || [ "$ID" = "arch" ]; then - sudo="sudo" - which doas > /dev/null && sudo="doas" - - echo GETTING MIN REQS - - $sudo pacman -S vis # separated incase i have it allready elsewhere - $sudo pacman -S rsync man-db wget git fzf - $sudo pacman -S lf ugrep - - echo ------------- -fi diff --git a/runs/packer.sh b/runs/packer.sh deleted file mode 100755 index 6785682..0000000 --- a/runs/packer.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh - -echo DOWNLOADING PACKER FOR NVIM - -git clone --depth 1 https://github.com/wbthomason/packer.nvim \ -~/.local/share/nvim/site/pack/packer/start/packer.nvim - -echo ---------- -- cgit v1.3