2021-11-06 15:39:57 -04:00
|
|
|
STOWED = bin git ruby tmux vim zsh alacritty atomaka
|
2021-11-02 20:14:26 -04:00
|
|
|
|
2015-03-26 13:26:05 -04:00
|
|
|
all: install
|
|
|
|
|
2021-11-06 20:59:11 -04:00
|
|
|
install: vim-setup initialize-colors
|
2021-11-02 20:14:26 -04:00
|
|
|
stow $(STOWED)
|
|
|
|
|
|
|
|
uninstall:
|
|
|
|
stow -D $(STOWED)
|
2017-08-31 00:19:46 -04:00
|
|
|
|
2021-11-06 20:59:11 -04:00
|
|
|
vim-setup:
|
|
|
|
mkdir -p $$HOME/.vim/undo
|
2017-08-31 00:19:46 -04:00
|
|
|
if test ! -f ~/.vim/autoload/plug.vim ; then \
|
2016-08-13 16:06:49 -04:00
|
|
|
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
|
|
|
|
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim ; \
|
|
|
|
fi
|
|
|
|
|
2021-11-06 15:39:57 -04:00
|
|
|
initialize-colors:
|
|
|
|
cat alacritty/.config/alacritty/alacritty-base.yml alacritty/.config/alacritty/themes/dark.yml > alacritty/.config/alacritty/alacritty.yml
|
|
|
|
cp atomaka/.config/atomaka/color.sample.yml atomaka/.config/atomaka/color.yml
|
|
|
|
|
2016-08-13 16:06:49 -04:00
|
|
|
rbenv: rbenv-base rbenv-build
|
|
|
|
|
|
|
|
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 ; \
|
2015-12-10 16:17:09 -05:00
|
|
|
fi
|
2015-03-26 13:26:05 -04:00
|
|
|
|
2021-05-13 09:35:10 -04:00
|
|
|
update: update-repo
|
2015-03-26 13:26:05 -04:00
|
|
|
|
|
|
|
update-repo:
|
|
|
|
git pull --rebase
|
2021-05-13 21:42:40 -04:00
|
|
|
|
|
|
|
clean:
|
2021-05-13 21:50:56 -04:00
|
|
|
rm -f $$HOME/bin/,
|
2021-05-13 21:42:40 -04:00
|
|
|
bash remove-symlinks
|
2021-11-06 13:00:08 -04:00
|
|
|
|
|
|
|
mac:
|
|
|
|
sudo mv /etc/{zprofile,zprofile.old}
|
2021-11-07 10:27:46 -05:00
|
|
|
infocmp -x tmux-256color > ~/tmux-256color.src
|
|
|
|
sed -i "" -e "s/pairs#0x10000/pairs#0x1000/" ~/tmux-256color.src
|
|
|
|
/usr/bin/tic -x ~/tmux-256color.src
|