git ssb


0+

cryptix / dotcryptix



Tree: c475ad20c2c71140f39209984924cedf63e14d6d

Files: c475ad20c2c71140f39209984924cedf63e14d6d / deploy.sh

986 bytesRaw
1#!/bin/sh
2
3echo "[!TODO!] vim needs manual pull of vim-plug"
4echo 'Run: curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
5
6echo "[!TODO!] zsh needs git_super_status"
7echo 'Run: cd $ZSH && git clone https://github.com/olivierverdier/zsh-git-prompt.git'
8
9source=$HOME/dotcryptix
10
11# clean old cfg and link to repo'ed one
12rmNln() {
13 fname=$1
14 test -h ~/.$fname && rm ~/.$fname
15 ln -s $source/$fname ~/.$fname
16}
17
18#misc
19for f in gitconfig gitk vimrc screenrc Xresources xinitrc xpdfrc gdbinit fakexinerama
20do rmNln $f
21done
22
23# ssh
24test -h ~/.ssh/config && rm ~/.ssh/config
25ln -s $source/ssh_config ~/.ssh/config
26
27# zsh stuff
28for f in zshrc alias env
29do rmNln $f
30done
31
32# suckless
33[ -d ~/suckless ] && for f in suckless/*.h
34do pname=`echo $f | cut -d'/' -f2 | cut -d'.' -f1`
35test -h ~/suckless/${pname}/config.h && rm ~/suckless/${pname}/config.h
36ln -s $source/suckless/${pname}.h ~/suckless/${pname}/config.h
37done
38
39

Built with git-ssb-web