@@ -5,22 +5,23 @@ BASEDIR="$(cd "$(dirname "$0")" && pwd)"
5
5
PLATFORM=" $( uname | tr ' [:upper:]' ' [:lower:]' ) "
6
6
7
7
link () {
8
- # ln -sfT replacement in case of Mac OS
9
- case $PLATFORM in
10
- linux* )
11
- ln -sfT " $1 " " $2 "
12
- ;;
13
- darwin* )
14
- ln -sfh " $1 " " $2 "
15
- ;;
16
- * )
17
- ln -sfT " $1 " " $2 "
18
- ;;
19
- esac
8
+ # ln -sfT replacement in case of Mac OS
9
+ case $PLATFORM in
10
+ linux* )
11
+ ln -sfT " $1 " " $2 "
12
+ ;;
13
+ darwin* )
14
+ ln -sfh " $1 " " $2 "
15
+ ;;
16
+ * )
17
+ ln -sfT " $1 " " $2 "
18
+ ;;
19
+ esac
20
20
}
21
21
22
22
link " $BASEDIR /bash/bashrc" " $HOME /.bashrc"
23
23
link " $BASEDIR /bash/bashrc" " $HOME /.bash_profile"
24
+ link " $BASEDIR /zsh/zshrc" " $HOME /.zshrc"
24
25
link " $BASEDIR /vim/" " $HOME /.vim"
25
26
26
27
mkdir -vp " $HOME /.config/"
@@ -47,25 +48,28 @@ link "$BASEDIR/gpg/gpg-agent.conf" "$HOME/.gnupg/gpg-agent.conf"
47
48
link " $BASEDIR /scripts" " $HOME /.scripts"
48
49
49
50
case $PLATFORM in
50
- darwin* )
51
- find " $BASEDIR /fonts/" -name " *.otf" -type f -exec cp {} ~ /Library/Fonts \;
52
- find " $BASEDIR /fonts/" -name " *.ttf" -type f -exec cp {} ~ /Library/Fonts \;
53
- ;;
54
- * )
55
- link " $BASEDIR /fonts" " $HOME /.fonts"
56
- ;;
51
+ darwin* )
52
+ find " $BASEDIR /fonts/" -name " *.otf" -type f -exec cp {} ~ /Library/Fonts \;
53
+ find " $BASEDIR /fonts/" -name " *.ttf" -type f -exec cp {} ~ /Library/Fonts \;
54
+ ;;
55
+ * )
56
+ link " $BASEDIR /fonts" " $HOME /.fonts"
57
+ ;;
57
58
esac
58
59
59
60
link " $BASEDIR /x11/xinitrc" " $HOME /.xinitrc"
60
61
link " $BASEDIR /x11/xserverrc" " $HOME /.xserverrc"
61
62
62
- # For 24-bit color in CLI Emacs, a terminfo definition needs to exist
63
63
case $PLATFORM in
64
- darwin* )
65
- ;;
66
- * )
67
- tic -x -o ~ /.terminfo " $BASEDIR /terminfo/xterm-24bits.terminfo"
68
- ;;
64
+ darwin* )
65
+
66
+ # Disable keychain saving in pinentry
67
+ defaults write org.gpgtools.common UseKeychain NO
68
+ ;;
69
+ * )
70
+ # For 24-bit color in CLI Emacs, a terminfo definition needs to exist
71
+ tic -x -o ~ /.terminfo " $BASEDIR /terminfo/xterm-24bits.terminfo"
72
+ ;;
69
73
esac
70
74
71
75
./gnome/settings.sh
0 commit comments