new installer is no longer install-rewrite
This commit is contained in:
		
							parent
							
								
									739bd18b16
								
							
						
					
					
						commit
						4a0fd7d27d
					
				
					 3 changed files with 68 additions and 68 deletions
				
			
		|  | @ -1,41 +1,37 @@ | |||
| #!/usr/bin/env zsh | ||||
| # A script for installing dependencies and setting up needed Symbolic Links | ||||
| # Created by Jeremy Winterberg, Brandon Roehl, Blake Ridgway | ||||
| # Updated 07/27/2019 | ||||
| # Created by Blake Ridgway | ||||
| # Updated 07/01/2020 | ||||
| # NOTICE: Modify script to your own preferences! This mostly uses default | ||||
| #         locations, but can be changed to whatever you need. | ||||
| 
 | ||||
| git submodule init | ||||
| git submodule update --recursive | ||||
| 
 | ||||
| if [ hash brew >/dev/null 2>&1 ] | ||||
| then | ||||
|   echo 'Attempting to install brew' | ||||
|   if [ uname = "Darwin" ] | ||||
|   then | ||||
|     /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | ||||
|   else | ||||
|     sudo apt-get install build-essential curl git python-setuptools ruby | ||||
|     ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install)" | ||||
|   fi | ||||
| fi | ||||
| # Installs tilix | ||||
| sudo apt install tilix | ||||
| 
 | ||||
| brew install zsh git coreutils vim tmux wget bash the_silver_searcher reattach-to-user-namespace zsh-syntax-highlighting | ||||
| 
 | ||||
| # Check if Oh My ZSH is installed | ||||
| # Check to see if Oh My ZSH is installed | ||||
| if ! [ -d "$HOME/.oh-my-zsh/" ]; then | ||||
|   echo >&2 "oh-my-zsh is not installed, fixing that..."; | ||||
|   curl -L https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh | sh | ||||
| fi | ||||
| 
 | ||||
| echo 'install rust' | ||||
| curl https://sh.rustup.rs -sSf | sh | ||||
| # Grab and configure powerlevel9k | ||||
| git clone https://github.com/bhilburn/powerlevel9k.git ~/.oh-my-zsh/custom/themes/powerlevel9k | ||||
| 
 | ||||
| echo 'grab ruby installer' | ||||
| git clone https://github.com/blakeridgway/ruby-install.git ~/ruby-install | ||||
| # Grabs Nerd Font and configures it | ||||
| wget https://github.com/ryanoasis/nerd-fonts/raw/master/patched-fonts/Hack/Regular/complete/Hack%20Regular%20Nerd%20Font%20Complete.ttf | ||||
| mkdir -p ~/.local/share/fonts  | ||||
| cp Hack\ Regular\ Nerd\ Font\ Complete.ttf ~/.local/share/fonts/ | ||||
| fc-cache -f -v | ||||
| 
 | ||||
| # Check to see if Rust is installed. | ||||
| # echo 'install rust' | ||||
| # curl https://sh.rustup.rs -sSf | sh | ||||
| 
 | ||||
| # Fancy ls script taken from github.com/brandonroehl/dotfiles | ||||
| files=( 'vimrc' 'vim' 'zshrc' 'zsh' 'tmux.conf' 'tmux-dev.sh' 'tmux-osx' 'agignore' 'gitconfig' 'gitignore' 'gitmessage' 'gemrc' 'rspec' 'eslintrc' ) | ||||
| files=( 'vimrc' 'vim' 'zshrc' 'zsh' 'agignore' 'gitconfig' 'gitignore' 'gitmessage' 'gemrc' 'rspec' 'eslintrc' ) | ||||
| for file in $files | ||||
| do | ||||
|   echo "" | ||||
|  |  | |||
							
								
								
									
										51
									
								
								dotfiles/install-old
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										51
									
								
								dotfiles/install-old
									
										
									
									
									
										Executable file
									
								
							|  | @ -0,0 +1,51 @@ | |||
| #!/usr/bin/env zsh | ||||
| # A script for installing dependencies and setting up needed Symbolic Links | ||||
| # Created by Jeremy Winterberg, Brandon Roehl, Blake Ridgway | ||||
| # Updated 07/27/2019 | ||||
| # NOTICE: Modify script to your own preferences! This mostly uses default | ||||
| #         locations, but can be changed to whatever you need. | ||||
| 
 | ||||
| git submodule init | ||||
| git submodule update --recursive | ||||
| 
 | ||||
| if [ hash brew >/dev/null 2>&1 ] | ||||
| then | ||||
|   echo 'Attempting to install brew' | ||||
|   if [ uname = "Darwin" ] | ||||
|   then | ||||
|     /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | ||||
|   else | ||||
|     sudo apt-get install build-essential curl git python-setuptools ruby | ||||
|     ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install)" | ||||
|   fi | ||||
| fi | ||||
| 
 | ||||
| brew install zsh git coreutils vim tmux wget bash the_silver_searcher reattach-to-user-namespace zsh-syntax-highlighting | ||||
| 
 | ||||
| # Check if Oh My ZSH is installed | ||||
| if ! [ -d "$HOME/.oh-my-zsh/" ]; then | ||||
|   echo >&2 "oh-my-zsh is not installed, fixing that..."; | ||||
|   curl -L https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh | sh | ||||
| fi | ||||
| 
 | ||||
| echo 'install rust' | ||||
| curl https://sh.rustup.rs -sSf | sh | ||||
| 
 | ||||
| echo 'grab ruby installer' | ||||
| git clone https://github.com/blakeridgway/ruby-install.git ~/ruby-install | ||||
| 
 | ||||
| # Fancy ls script taken from github.com/brandonroehl/dotfiles | ||||
| files=( 'vimrc' 'vim' 'zshrc' 'zsh' 'tmux.conf' 'tmux-dev.sh' 'tmux-osx' 'agignore' 'gitconfig' 'gitignore' 'gitmessage' 'gemrc' 'rspec' 'eslintrc' ) | ||||
| for file in $files | ||||
| do | ||||
|   echo "" | ||||
|   echo "Simlinking $file to $HOME" | ||||
|   ln -sf "$PWD/$file" "$HOME/.$file" | ||||
|   if [ $? -eq 0 ] | ||||
|   then | ||||
|     echo "$PWD/$file ~> $HOME/.$file" | ||||
|   else | ||||
|     echo 'Install failed to symlink.' | ||||
|     exit 1 | ||||
|   fi | ||||
| done | ||||
|  | @ -1,47 +0,0 @@ | |||
| #!/usr/bin/env zsh | ||||
| # A script for installing dependencies and setting up needed Symbolic Links | ||||
| # Created by Blake Ridgway | ||||
| # Updated 07/01/2020 | ||||
| # NOTICE: Modify script to your own preferences! This mostly uses default | ||||
| #         locations, but can be changed to whatever you need. | ||||
| 
 | ||||
| git submodule init | ||||
| git submodule update --recursive | ||||
| 
 | ||||
| # Installs tilix | ||||
| sudo apt install tilix | ||||
| 
 | ||||
| # Check to see if Oh My ZSH is installed | ||||
| if ! [ -d "$HOME/.oh-my-zsh/" ]; then | ||||
|   echo >&2 "oh-my-zsh is not installed, fixing that..."; | ||||
|   curl -L https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh | sh | ||||
| fi | ||||
| 
 | ||||
| # Grab and configure powerlevel9k | ||||
| git clone https://github.com/bhilburn/powerlevel9k.git ~/.oh-my-zsh/custom/themes/powerlevel9k | ||||
| 
 | ||||
| # Grabs Nerd Font and configures it | ||||
| wget https://github.com/ryanoasis/nerd-fonts/raw/master/patched-fonts/Hack/Regular/complete/Hack%20Regular%20Nerd%20Font%20Complete.ttf | ||||
| mkdir -p ~/.local/share/fonts  | ||||
| cp Hack\ Regular\ Nerd\ Font\ Complete.ttf ~/.local/share/fonts/ | ||||
| fc-cache -f -v | ||||
| 
 | ||||
| # Check to see if Rust is installed. | ||||
| # echo 'install rust' | ||||
| # curl https://sh.rustup.rs -sSf | sh | ||||
| 
 | ||||
| # Fancy ls script taken from github.com/brandonroehl/dotfiles | ||||
| files=( 'vimrc' 'vim' 'zshrc' 'zsh' 'agignore' 'gitconfig' 'gitignore' 'gitmessage' 'gemrc' 'rspec' 'eslintrc' ) | ||||
| for file in $files | ||||
| do | ||||
|   echo "" | ||||
|   echo "Simlinking $file to $HOME" | ||||
|   ln -sf "$PWD/$file" "$HOME/.$file" | ||||
|   if [ $? -eq 0 ] | ||||
|   then | ||||
|     echo "$PWD/$file ~> $HOME/.$file" | ||||
|   else | ||||
|     echo 'Install failed to symlink.' | ||||
|     exit 1 | ||||
|   fi | ||||
| done | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue