forked from honmaple/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall.sh
executable file
·44 lines (38 loc) · 1.21 KB
/
install.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
#!/bin/bash
#**************************************************************************
#Copyright © 2016 jianglin
#File Name: install.sh
#Author: jianglin
#Email: [email protected]
#Created: 2016-06-21 14:38:53 (CST)
#Last Update:星期二 2016-6-21 14:56:5 (CST)
# By:
#Description:
#**************************************************************************/
# echo 'You might need to change your default shell to zsh: `chsh -s /bin/zsh` (or `sudo vim /etc/passwd`)'
# dir="$HOME/git"
# cd $dir
# git clone https://github.com/honmaple/dotfiles.git honmaple
# cd honmaple
# dotfiles="$HOME/git/honmaple"
# if [[ -d "$dotfiles" ]]; then
# echo "Symlinking dotfiles from $dotfiles"
# else
# echo "$dotfiles does not exist"
# exit 1
# fi
# link() {
# from="$1"
# to="$2"
# echo "Linking '$from' to '$to'"
# rm -f "$to"
# ln -s "$from" "$to"
# }
# for location in $(find home -name '.*'); do
# file="${location##*/}"
# file="${file%.sh}"
# link "$dotfiles/$location" "$HOME/$file"
# done
# if [[ `uname` == 'Darwin' ]]; then
# link "$dotfiles/sublime/Packages/User/Preferences.sublime-settings" "$HOME/Library/Application Support/Sublime Text 3/Packages/User/Preferences.sublime-settings"
# fi