dotfiles/Makefile

47 lines
1.3 KiB
Makefile
Raw Normal View History

2021-12-21 13:19:10 -05:00
STOWED = alacritty bin git ruby tmux vim zsh
2021-11-02 20:14:26 -04:00
2015-03-26 13:26:05 -04:00
all: install
2021-12-21 13:19:10 -05:00
install:
2021-11-02 20:14:26 -04:00
stow $(STOWED)
2021-12-21 13:19:10 -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
2021-12-21 13:19:10 -05:00
javascript: nodenv-base nodenv-build
linux:
sudo apt-get install direnv fzf silversearcher-ag stow tmux vim zsh
2016-08-13 16:06:49 -04:00
2021-12-21 14:48:18 -05:00
mac:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
sudo mv /etc/{zprofile,zprofile.old}
brew install coreutils direnv fzf git stow the_silver_searcher tmux vim zsh
2021-12-21 13:19:10 -05:00
ruby: rbenv-base rbenv-build
2021-11-06 15:39:57 -04:00
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
rbenv-base:
if test ! -d ~/.rbenv ; then \
git clone https://github.com/rbenv/rbenv.git ~/.rbenv ; \
fi
rbenv-build:
if test ! -d ~/.rbenv/plugins/ruby-build ; then \
git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build ; \
fi
2015-03-26 13:26:05 -04:00
2021-12-21 13:19:10 -05:00
nodenv-base:
if test ! -d ~/.nodenv ; then \
git clone https://github.com/nodenv/nodenv.git ~/.nodenv ; \
fi
2021-11-06 13:00:08 -04:00
2021-12-21 13:19:10 -05:00
nodenv-build:
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