2021-12-21 13:19:10 -05:00
|
|
|
STOWED = alacritty bin git ruby tmux vim zsh
|
2022-05-09 12:16:50 -04:00
|
|
|
UNAME = `uname`
|
2021-11-02 20:14:26 -04:00
|
|
|
|
2022-05-09 12:16:50 -04:00
|
|
|
all:
|
|
|
|
-@make $(UNAME) install vim alacritty rust
|
2015-03-26 13:26:05 -04:00
|
|
|
|
2021-12-21 13:19:10 -05:00
|
|
|
install:
|
2021-11-02 20:14:26 -04:00
|
|
|
stow $(STOWED)
|
|
|
|
|
2021-12-21 14:48:18 -05:00
|
|
|
|
2022-05-09 12:16:50 -04:00
|
|
|
Linux: linux_applications
|
2021-11-06 15:39:57 -04:00
|
|
|
|
2022-05-09 12:16:50 -04:00
|
|
|
Darwin: mac_applications
|
|
|
|
/bin/bash -c "$$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
|
|
|
sudo mv /etc/{zprofile,zprofile.old}
|
|
|
|
source ./zsh/.zshenv
|
2022-05-04 20:41:34 -04:00
|
|
|
|
|
|
|
|
2022-01-18 09:19:41 -05:00
|
|
|
alacritty:
|
|
|
|
curl -fLo /tmp/alacritty.info https://raw.githubusercontent.com/alacritty/alacritty/master/extra/alacritty.info
|
|
|
|
sudo tic -xe alacritty,alacritty-direct /tmp/alacritty.info
|
|
|
|
toggle-color-bin
|
|
|
|
|
2022-05-09 12:16:50 -04:00
|
|
|
rust:
|
|
|
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --no-modify-path
|
|
|
|
|
2021-12-21 13:19:10 -05:00
|
|
|
vim:
|
|
|
|
curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
|
2016-08-13 16:06:49 -04:00
|
|
|
|
2022-01-18 09:19:41 -05:00
|
|
|
|
2022-05-09 12:16:50 -04:00
|
|
|
mac_applications:
|
|
|
|
brew install coreutils gnu-sed direnv fzf git stow the_silver_searcher tmux \
|
2022-05-18 10:45:11 -04:00
|
|
|
vim zsh rbenv ruby-build tfenv nodenv node-build tig libpq gnupg llvm \
|
|
|
|
awscli cmake session-manager-plugin jq
|
2022-05-09 12:16:50 -04:00
|
|
|
brew install --cask docker rectangle slack google-chrome alacritty telegram \
|
|
|
|
discord
|
|
|
|
|
|
|
|
linux_applications:
|
|
|
|
sudo apt-get install direnv fzf silversearcher-ag stow tmux vim zsh
|
2016-08-13 16:06:49 -04:00
|
|
|
if test ! -d ~/.rbenv ; then \
|
|
|
|
git clone https://github.com/rbenv/rbenv.git ~/.rbenv ; \
|
|
|
|
fi
|
|
|
|
if test ! -d ~/.rbenv/plugins/ruby-build ; then \
|
|
|
|
git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build ; \
|
2015-12-10 16:17:09 -05:00
|
|
|
fi
|
2021-12-21 13:19:10 -05:00
|
|
|
if test ! -d ~/.nodenv ; then \
|
|
|
|
git clone https://github.com/nodenv/nodenv.git ~/.nodenv ; \
|
|
|
|
fi
|
2022-01-11 19:55:31 -05:00
|
|
|
if test ! -d ~/.nodenv/plugins/node-build ; then \
|
2021-12-21 13:19:10 -05:00
|
|
|
git clone https://github.com/nodenv/node-build.git ~/.nodenv/plugins/node-build ; \
|
|
|
|
fi
|
2022-05-04 20:41:34 -04:00
|
|
|
if test ! -d ~/.tfenv ; then \
|
|
|
|
git clone https://github.com/tfutils/tfenv.git ~/.tfenv ; \
|
|
|
|
fi
|