-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
30 lines (27 loc) · 1.21 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
top = $(shell pwd)
all:
# Config files first
ln -s $(top)/vim ~/.vim || true
ln -s $(top)/vimrc ~/.vimrc || true
ln -s $(top)/nvim ~/.config/nvim || true
ln -s $(top)/ranger ~/.ranger/ranger || true
# This symlink is just for convenience. Neovim looks in the above directory
ln -s $(top)/nvimrc ~/.nvimrc || true
ln -s $(top)/pentadactylrc ~/.pentadactylrc || true
ln -s $(top)/xmobarrc ~/.xmobarrc || true
ln -s $(top)/xsessionrc ~/.xsessionrc || true
ln -s $(top)/haskeline ~/.haskeline || true
ln -s $(top)/ghci ~/.ghci || true
# Backup things which might exists
mv ~/.bashrc ~/.bashrc.bak
ln -s $(top)/bashrc ~/.bashrc || true
ln -s $(top)/Xresources ~/.Xresources || true
# Make the user land bin folder for wallpapers
mkdir ~/bin || true
ln -s $(top)/wallpaper.sh ~/bin/wallpaper.sh || true
# Link pictures into the user's Pictures directory
mkdir -p ~/Pictures/
ln -s $(top)/high-res ~/Pictures/high-res || true
# Download vim-plug for vim and neovim
curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
curl -fLo ~/.config/nvim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim