dotfiles/Makefile
Tobias Manske 0758a3c10e
ZSH: Fix submodule init
Signed-off-by: Tobias Manske <tobias.manske@mailbox.org>
2018-09-06 23:15:08 +02:00

66 lines
1.7 KiB
Makefile

tmux:
ln -s ~/.dotfiles/tmux ~/.tmux
ln -s ~/.dotfiles/tmux/tmux.conf ~/.tmux.conf
vim:
ln -s ~/.dotfiles/vim ~/.vim
ln -s ~/.dotfiles/vim/.vimrc ~/.vimrc
sudo pip3 uninstall greenlet
sudo pip3 install neovim
#sudo pip2 uninstall greenlet
sudo pacman -S python-greenlet
mkdir -p ~/.dotfiles/vim/.swp
mkdir -p ~/.dotfiles/vim/.undo
mkdir -p ~/.dotfiles/vim/.backup
git:
rm ~/.gitconfig || echo
rm ~/.gitmessage || echo
ln -s ~/.dotfiles/.gitconfig ~/.gitconfig
ln -s ~/.dotfiles/.gitmessage ~/.gitmessage
xresources:
rm ~/.Xresources
ln -s ~/.dotfiles/.Xresources ~/.Xresources
xcompose:
rm ~/.XCompose || true
ln -s ~/.dotfiles/.XCompose ~/.XCompose
albert:
ln -s ~/.dotfiles/albert ~/.config/albert
zsh:
cd ~/.dotfiles/zsh/ && git submodule init && git submodule update --recursive
rm ~/.zim || echo
ln -s ~/.dotfiles/zsh ~/.zim
cd ~/.dotfiles
zsh zimsetup.zsh
rm ~/.zimrc || echo
ln -s ~/.dotfiles/.zimrc ~/.zimrc
compton:
ln -s ~/.dotfiles/.compton.conf ~/.compton.conf
i3: dep
ln -s ~/.dotfiles/i3 ~/.config/i3
cd i3/conf/ && ./build.sh
mutt: dep
ln -s ~/.dotfiles/mutt/.muttrc ~/.muttrc
ln -s ~/.dotfiles/mutt/.mailcap ~/.mailcap
.PHONY: clean zsh git vim tmux i3 albert
clean:
rm -rf ~/.vim ~/.vimrc ~/.tmux ~/.tmux.conf ~/.gitconfig ~/.config/i3 ~/.muttrc
rm -rf ~/.zshrc ~/.zimrc ~/.zim ~/.zlogin
dep:
git clone https://aur.archlinux.org/powerline-fonts-git.git /tmp/powerline-font
cd /tmp/powerline-font && makepkg -Acsi
git clone https://aur.archlinux.org/bumblebee-status-git.git /tmp/bumblebee
cd /tmp/bumblebee && makepkg -Acsi
sudo pacman -S awesome-terminal-fonts perl-anyevent-i3 perl-json-xs w3m
all: clean tmux vim git zsh i3 mutt xresources compton albert