-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.sh
More file actions
37 lines (32 loc) · 912 Bytes
/
install.sh
File metadata and controls
37 lines (32 loc) · 912 Bytes
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
# install flake8
pip install flake8
#locale-gen ko_KR.UTF-8
#locale -a | grep ko_KR
#ko_KR.utf8
# install vim-plug
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
echo "If curl is not installed, install it by apt install curl"
#!/bin/bash
DIRNAME="$(dirname "$0")"
DIR="$(cd "$DIRNAME" && pwd)"
install () {
OLD="$HOME/.$1"
NEW="$DIR/$1"
if [ -f $OLD ]; then
if [ -L $OLD ]; then
rm $OLD
else
mv $OLD "$OLD.bak"
fi
fi
ln -s $NEW $OLD
}
install tmux.conf
install bashrc
install zshrc
install vimrc
echo "To save the github crediential, please type the below command and then do git pull."
echo "git config credential.helper store --global"
echo "Please open vimrc and type :PlugInstall to finish settings"
echo "You can add virtualenv settings at the last part of bashrc or zshrc. e.g. write: conda activate jongho"