From b5cd629cc29d91fc09259888054d168b6027a43d Mon Sep 17 00:00:00 2001 From: Jordan Orelli Date: Sat, 25 Feb 2023 17:46:36 -0600 Subject: [PATCH] cleaning up old submodule stuff --- install.sh | 4 ---- wsl/install.sh | 57 -------------------------------------------------- 2 files changed, 61 deletions(-) delete mode 100755 wsl/install.sh diff --git a/install.sh b/install.sh index 7c825ef..1cbc7bb 100755 --- a/install.sh +++ b/install.sh @@ -79,7 +79,3 @@ fi echo "installing Vim plugins" vim +PluginInstall +qall - -if uname -a | grep -q WSL; then - "$base_dir/wsl/install.sh" -u JordanOrelli -fi diff --git a/wsl/install.sh b/wsl/install.sh deleted file mode 100755 index 08f7805..0000000 --- a/wsl/install.sh +++ /dev/null @@ -1,57 +0,0 @@ -#!/usr/bin/env bash - -# Configures windows from WSL -if ! uname -a | grep -q WSL; then - echo "install.sh for windows must be run from WSL" 2>&1 - exit 1 -fi - -set -e -SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) -PREFS_DIR=$(dirname $SCRIPT_DIR) -echo $PREFS_DIR - -while getopts u:a:f: flag -do - case "${flag}" in - u) username=${OPTARG};; - esac -done - -function main() { - if ! [[ $username ]]; then - echo "Username is required" 2>&1 - usage - exit 1 - fi - - homedir="/mnt/c/Users/$username" - - if ! [[ -d "$homedir" ]]; then - echo "Missing expected home directory at '$homedir'" 2>&1 - usage - exit 1 - fi - - echo "Installing preferences to home directory $homedir" - - vimdir="$homedir/AppData/Local/nvim" - setup_nvim "$vimdir" -} - -function usage() { - cat <