dotfiles/Makefile

50 lines
1.2 KiB
Makefile
Raw Normal View History

2018-04-05 12:34:27 +02:00
tmux:
git submodule init
git submodule update
2018-04-05 12:34:27 +02:00
ln -s ~/.dotfiles/tmux ~/.tmux
ln -s ~/.dotfiles/tmux/.tmux.conf ~/.tmux.conf
2018-04-05 12:34:27 +02:00
vim:
ln -s ~/.dotfiles/vim ~/.vim
2018-04-05 13:14:10 +02:00
ln -s ~/.dotfiles/vim/.vimrc ~/.vimrc
2018-04-05 12:34:27 +02:00
sudo pip3 install neovim
2021-02-08 23:00:46 +01:00
sudo pacman -S python-greenlet || true
2018-04-07 04:50:06 +02:00
mkdir -p ~/.dotfiles/vim/.swp
mkdir -p ~/.dotfiles/vim/.undo
mkdir -p ~/.dotfiles/vim/.backup
2018-04-05 12:34:27 +02:00
git:
2018-04-07 04:50:06 +02:00
rm ~/.gitconfig || echo
rm ~/.gitmessage || echo
2018-04-05 12:34:27 +02:00
ln -s ~/.dotfiles/.gitconfig ~/.gitconfig
ln -s ~/.dotfiles/.gitmessage ~/.gitmessage
2018-04-05 12:34:27 +02:00
2021-02-09 02:10:11 +01:00
gnupg:
for i in $(ls gnupg -1); do rm ~/.gnupg/$i; ln -s ~/.dotfiles/gnupg/$i ~/.gnupg/$i; done
2018-04-05 14:17:45 +02:00
zsh:
rm -rf ~/.zim || true
cd ~/.dotfiles
curl -fsSL https://raw.githubusercontent.com/zimfw/install/master/install.zsh | zsh
rm ~/.zimrc || true
rm ~/.zshrc || true
ln -s ~/.dotfiles/.zimrc ~/.zimrc
ln -s ~/.dotfiles/.zshrc ~/.zshrc
2018-04-05 12:34:27 +02:00
2018-04-08 13:21:36 +02:00
compton:
ln -s ~/.dotfiles/.compton.conf ~/.compton.conf
2018-04-05 14:08:05 +02:00
i3: dep
2018-04-05 12:34:27 +02:00
ln -s ~/.dotfiles/i3 ~/.config/i3
2018-04-05 16:17:46 +02:00
cd i3/conf/ && ./build.sh
2018-04-05 12:34:27 +02:00
2021-02-09 02:10:11 +01:00
.PHONY: clean zsh git vim tmux i3 albert gnupg
2018-04-05 12:34:27 +02:00
clean:
2019-09-25 14:06:02 +02:00
rm -rf ~/.vim ~/.vimrc ~/.tmux ~/.tmux.conf ~/.gitconfig ~/.config/i3
rm -rf ~/.zshrc ~/.zimrc ~/.zim ~/.zlogin ~/.compton.conf
2021-02-09 02:10:11 +01:00
rm -rf ~/.mailcap ~/.zsh
rm -rf ~/.config/albert
rm -rf /tmp/makedir/
2018-04-05 12:34:27 +02:00
2021-02-09 02:10:11 +01:00
all: clean zsh git vim tmux