-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.sh
80 lines (66 loc) · 2.14 KB
/
setup.sh
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
#!/bin/sh
wget http://downloads.sourceforge.net/project/zsh/zsh-dev/4.3.10/zsh-4.3.10.tar.gz
tar zvxf zsh-4.3.10.tar.gz
cd zsh-4.3.10
./configure --prefix=$HOME/local --enable-multibyte --enable-locale
make
make install
curl -L https://sourceforge.net/projects/zsh/files/zsh/5.6.2/zsh-5.6.2.tar.xz > zsh-5.6.2.tar.xz
xz -dc zsh-5.6.2.tar.xz | tar xfv -
cd zsh-5.6.2/
./configure --enable-multibyte
make
make install
cd
wget http://ftp.gnu.org/gnu/screen/screen-4.6.2.tar.gz
tar zxvf screen-4.6.2.tar.gz
cd screen-4.6.2/
./configure --prefix=$HOME/local --enable-colors256 --enable-locale
make
make install
cd
wget ftp://ftp.jp.vim.org/pub/vim/unix/vim-7.2.tar.bz2
wget ftp://ftp.jp.vim.org/pub/vim/extra/vim-7.2-lang.tar.gz
wget ftp://ftp.jp.vim.org/pub/vim/extra/vim-7.2-extra.tar.gz
tar xjvf vim-7.2.tar.bz2
tar xzvf vim-7.2-lang.tar.gz
tar xzvf vim-7.2-extra.tar.gz
cd vim72/
mkdir patches
cd patches/
wget ftp://ftp.jp.vim.org/pub/vim/patches/7.2/7.2.001-100.gz
wget ftp://ftp.jp.vim.org/pub/vim/patches/7.2/7.2.101-200.gz
wget ftp://ftp.jp.vim.org/pub/vim/patches/7.2/7.2.201-300.gz
wget ftp://ftp.jp.vim.org/pub/vim/patches/7.2/7.2.301-400.gz
curl -O 'ftp://ftp.jp.vim.org/pub/vim/patches/7.2/7.2.[401-411]'
gzip -d 7.2.001-100.gz
gzip -d 7.2.101-200.gz
gzip -d 7.2.201-300.gz
gzip -d 7.2.301-400.gz
cd ..
cat patches/* | patch -p0
./configure --prefix=$HOME/local --with-features=big --enable-multibyte --disable-netbeans --disable-gtktest --disable-acl --disable-gpm --disable-xim --without-x --disable-gui
make
make install
cd
wget http://www.ff.iij4u.or.jp/~nrt/freeware/lv451.tar.gz
tar xzvf lv451.tar.gz
cd lv451/build/
../src/configure --prefix=$HOME/local
make
make install
cd
wget http://kernel.org/pub/software/scm/git/git-1.7.4.1.tar.bz2
tar xvfj git-1.7.4.1.tar.bz2
cd git-1.7.4.1/
./configure --with-iconv=$HOME/local --prefix=$HOME/local
make prefix=$HOME/local all
make prefix=$HOME/local install
cd
~/local/bin/git clone git://github.com/pochy/dotfiles.git
ln -s dotfiles/.zshrc .zshrc
ln -s dotfiles/.vimrc .vimrc
ln -s dotfiles/.vim .vim
ln -s dotfiles/.screenrc .screenrc
git config --global color.ui auto
git config --global core.pager 'lv -Ou8 -c'