|
|
|
@ -1,11 +1,8 @@
|
|
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
|
|
# install xcode and other software from the app store
|
|
|
|
|
# everything neccessary first - command line tools
|
|
|
|
|
xcode-select --install
|
|
|
|
|
|
|
|
|
|
read -p "Press any key to continue... " -n1 -s
|
|
|
|
|
|
|
|
|
|
# install homebrew
|
|
|
|
|
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
|
|
|
|
|
brew doctor
|
|
|
|
@ -13,7 +10,6 @@ brew tap homebrew/services
|
|
|
|
|
|
|
|
|
|
# brew paths
|
|
|
|
|
export PATH=/usr/local/bin:/usr/local/sbin:$PATH
|
|
|
|
|
read -p "Press any key to continue... " -n1 -s
|
|
|
|
|
|
|
|
|
|
# install some neccessary brew packages
|
|
|
|
|
brew install clipper
|
|
|
|
@ -24,12 +20,10 @@ brew install python
|
|
|
|
|
brew install tmux
|
|
|
|
|
brew install ruby
|
|
|
|
|
brew install zsh
|
|
|
|
|
read -p "Press any key to continue... " -n1 -s
|
|
|
|
|
|
|
|
|
|
# install all submodules
|
|
|
|
|
git submodule init
|
|
|
|
|
git submodule update
|
|
|
|
|
read -p "Press any key to continue... " -n1 -s
|
|
|
|
|
|
|
|
|
|
# link the dotfiles
|
|
|
|
|
mkdir ~/.config
|
|
|
|
@ -42,44 +36,27 @@ ln -s ~/dotfiles/nvim ~/.config/nvim
|
|
|
|
|
ln -s ~/dotfiles/tmux.conf ~/.tmux.conf
|
|
|
|
|
ln -s ~/dotfiles/zsh ~/.zsh
|
|
|
|
|
ln -s ~/dotfiles/zsh/zshrc ~/.zshrc
|
|
|
|
|
read -p "Press any key to continue... " -n1 -s
|
|
|
|
|
|
|
|
|
|
# install fzf
|
|
|
|
|
/usr/local/opt/fzf/install
|
|
|
|
|
read -p "Press any key to continue... " -n1 -s
|
|
|
|
|
|
|
|
|
|
# this is the minimal software and fonts used
|
|
|
|
|
brew cask install caskroom/fonts/font-fira-code
|
|
|
|
|
brew cask install forklift
|
|
|
|
|
brew cask install hammerspoon
|
|
|
|
|
read -p "Press any key to continue... " -n1 -s
|
|
|
|
|
|
|
|
|
|
# clipper
|
|
|
|
|
mkdir -p ~/Library/LaunchAgents
|
|
|
|
|
brew services start clipper
|
|
|
|
|
read -p "Press any key to continue... " -n1 -s
|
|
|
|
|
|
|
|
|
|
# install deps + plugins for neovim
|
|
|
|
|
pip3 install neovim
|
|
|
|
|
curl https://raw.githubusercontent.com/Shougo/dein.vim/master/bin/installer.sh > installer.sh
|
|
|
|
|
sh installer.sh ~/.config/nvim/dein
|
|
|
|
|
read -p "Press any key to continue... " -n1 -s
|
|
|
|
|
rm installer.sh
|
|
|
|
|
|
|
|
|
|
# set xterm/screen terminals to enable italic fonts in terminal
|
|
|
|
|
tic ~/dotfiles/other/xterm-256color.terminfo
|
|
|
|
|
read -p "Press any key to continue... " -n1 -s
|
|
|
|
|
|
|
|
|
|
# set terminal to xterm-256color!
|
|
|
|
|
# now restart your terminal and hope for the best
|
|
|
|
|
read -p "Now set terminal to xterm-256color, restart and hope for the best..." -n1 -s
|
|
|
|
|
tic ~/dotfiles/other/xterm-256color.terminfo
|
|
|
|
|
|
|
|
|
|
# set zsh to the default
|
|
|
|
|
sudo vim /etc/shells
|
|
|
|
|
read -p "Press any key to continue... " -n1 -s
|
|
|
|
|
chsh -s /usr/local/bin/zsh
|
|
|
|
|
read -p "Press any key to continue... " -n1 -s
|
|
|
|
|
/usr/bin/env zsh
|
|
|
|
|
read -p "Press any key to continue... " -n1 -s
|
|
|
|
|
sudo launchctl config user path $PATH
|
|
|
|
|
read -p "Press any key to continue... " -n1 -s
|
|
|
|
|