-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.sh
More file actions
executable file
·59 lines (46 loc) · 1.41 KB
/
install.sh
File metadata and controls
executable file
·59 lines (46 loc) · 1.41 KB
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#!/bin/bash
# ____ _ __ _ _ _
#| _ \ ___ | |_ / _(_) | ___ ___| |
#| | | |/ _ \| __| |_| | |/ _ \/ __| |
#| |_| | (_) | |_| _| | | __/\__ \_|
#|____/ \___/ \__|_| |_|_|\___||___(_)
#
for file in .*; do
skip=0
base=$(basename $file)
replaces="$HOME/$base"
# back-up existing symlinks
if [[ -L $replaces ]]; then
cp -r $replaces $replaces-old
fi
for avoid in "." ".." ".git"; do
if [[ $base = $avoid ]]; then
skip=1
fi
done
if [ $skip -eq 1 ]; then
continue;
fi
repo=$(pwd)
ln -s "$repo/$file" "$replaces"
echo "Installing $file"
done
# git submodule update --init
# no longer needed
git clone "https://github.com/gmarik/Vundle.vim.git" "$HOME/.vim/bundle/Vundle.vim"
vim +BundleInstall +qall
#sudo apt-get install dconf-cli ipython vim git-core
#sudo apt-get install ttf-inconsolata
#bash gnome-terminal-colors-solarized/install.sh
pip install powerline-status
pip install psutil
#mkdir -p ~/.fonts
#mkdir -p ~/.config/fontconfig/conf.d/
#cp .vim/bundle/powerline/font/*.otf ~/.fonts/
#cp .vim/bundle/powerline/font/*.conf ~/.config/fontconfig/conf.d/
#fc-cache -vf ~/.fonts
cd vim/csv.vim/ && make ; cd $CURDIR
#mkdir -p ~/.solarized/dircolors
#cp dircolors-solarized/dircolors.ansi-dark ~/.solarized/dircolors/
mkdir -p ~/.tmux.d/
find ~ -name "powerline.conf" ~/.tmux.d/