diff options
| author | Peter Son Struschka <me@peter-struschka.com> | 2020-06-01 12:16:08 +0800 |
|---|---|---|
| committer | Peter Son Struschka <me@peter-struschka.com> | 2020-06-01 12:16:08 +0800 |
| commit | c461951f7e1a9c7862583025de15627d9aa1de25 (patch) | |
| tree | de34886a463b3fbae4c5efc5346960f0166a5303 /Makefile | |
| parent | 0f84799b7d3b0cf0abaace7967a0c0490158440b (diff) | |
| download | dotfiles-c461951f7e1a9c7862583025de15627d9aa1de25.tar.gz dotfiles-c461951f7e1a9c7862583025de15627d9aa1de25.tar.bz2 dotfiles-c461951f7e1a9c7862583025de15627d9aa1de25.tar.lz dotfiles-c461951f7e1a9c7862583025de15627d9aa1de25.tar.xz dotfiles-c461951f7e1a9c7862583025de15627d9aa1de25.tar.zst dotfiles-c461951f7e1a9c7862583025de15627d9aa1de25.zip | |
zsh+basics: reorganise XDG and use antibody instead of zplug for zsh
plugins
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -2,7 +2,10 @@ all_files := basics emacs spacemacs doom-emacs git i3wm bspwm vim nvim tmux x zs simple_files := emacs spacemacs doom-emacs vim fish -.PHONY: $(all_files) zplug +.PHONY: $(all_files) + +MAKEFILE_PATH := $(abspath $(lastword $(MAKEFILE_LIST))) +BASE_DIR := $(patsubst %/,%,$(dir $(MAKEFILE_PATH))) $(simple_files): @@ -41,12 +44,12 @@ nvim: https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim stow -t ~ $@ -zsh: basics zplug +zsh: basics antibody stow -t ~ $@ -zplug: - curl -sL --proto-redir -all,https https://raw.githubusercontent.com/zplug/installer/master/installer.zsh | zsh - +antibody: $(BASE_DIR)/zsh/.config/zsh/zsh_plugins.txt + curl -sfL git.io/antibody | sh -s - -b $(BASE_DIR)/zsh/.local/bin + $(BASE_DIR)/zsh/.local/bin/antibody bundle < $(BASE_DIR)/zsh/.config/zsh/zsh_plugins.txt > $(BASE_DIR)/zsh/.config/zsh/zsh_plugins.sh $(addprefix uninstall_,$(all_files)): |
