2016-10-23 05:00:18 +00:00
|
|
|
.PHONY: help git lftp npm nvim ssh sway urxvt wallpapers zsh clean
|
2016-10-23 04:18:46 +00:00
|
|
|
|
|
|
|
.DEFAULT: help
|
|
|
|
|
|
|
|
help:
|
2016-10-23 05:00:18 +00:00
|
|
|
@echo "all > set up everything"
|
|
|
|
@echo "git > global git config & aliases"
|
|
|
|
@echo "lftp > sftp management"
|
|
|
|
@echo "npm > npm configuration (ha ha)"
|
|
|
|
@echo "nvim > neovim config & plugins"
|
|
|
|
@echo "ssh > safe-ish ssh config"
|
|
|
|
@echo "sway > minimal tiling wm for naughty computers"
|
|
|
|
@echo "urxvt > terminal colours & keyboard settings"
|
|
|
|
@echo "wallpapers > system wallpapers"
|
|
|
|
@echo "zsh > shell, aliases and cool stuff"
|
2016-10-23 04:18:46 +00:00
|
|
|
@echo ""
|
2016-10-23 05:00:18 +00:00
|
|
|
@echo " mostly, i'm just lazy"
|
2016-10-23 04:18:46 +00:00
|
|
|
|
2016-10-23 05:00:18 +00:00
|
|
|
all: git lftp npm nvim ssh sway urxvt wallpapers zsh
|
2016-10-23 04:18:46 +00:00
|
|
|
|
|
|
|
git:
|
|
|
|
@stow -t ~/ git
|
|
|
|
|
|
|
|
lftp:
|
|
|
|
@stow -t ~/ lftp
|
|
|
|
|
|
|
|
npm:
|
|
|
|
@mkdir -p ~/.cache/npm ~/.local/share/npm
|
|
|
|
@stow -t ~/ npm
|
|
|
|
|
|
|
|
nvim:
|
|
|
|
@stow -t ~/ nvim
|
|
|
|
curl -fLo ~/.config/nvim/autoload/plug.vim --create-dirs \
|
|
|
|
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
|
|
|
|
@echo "Run :PlugInstall when nvim is first run!"
|
|
|
|
|
|
|
|
ssh:
|
|
|
|
@stow -t ~/ ssh
|
|
|
|
|
|
|
|
sway:
|
|
|
|
@stow -t ~/ sway
|
|
|
|
|
|
|
|
urxvt:
|
|
|
|
@stow -t ~/ urxvt
|
|
|
|
|
2016-10-23 05:00:18 +00:00
|
|
|
wallpapers:
|
|
|
|
@stow -t ~/ wallpapers
|
|
|
|
|
2016-10-23 04:18:46 +00:00
|
|
|
zsh:
|
|
|
|
git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
|
|
|
|
git clone https://github.com/zsh-users/zsh-completions ~/.oh-my-zsh/custom/plugins/zsh-completions
|
|
|
|
@stow -t ~/ zsh
|
|
|
|
|
|
|
|
clean:
|
|
|
|
@stow -D git lftp npm nvim ssh sway urxvt zsh
|
|
|
|
@rm -rf ~/.config/git \
|
|
|
|
~/.config/lftp ~/.local/share/lftp \
|
|
|
|
~/.config/npm ~/.cache/npm ~/.local/share/npm \
|
|
|
|
~/.config/nvim \
|
|
|
|
~/.config/sway \
|
|
|
|
~/.oh-my-zsh
|