aboutsummaryrefslogtreecommitdiff
path: root/install
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2013-07-18 14:35:44 +1200
committerTom Ryder <tom@sanctum.geek.nz>2013-07-18 14:35:44 +1200
commit0a3f8e3c938cf1979cbc64478df9ce2091b8fdcf (patch)
tree23ee4b19c7cb6d91364435cdebb530adb8369b8e /install
parentRemove user section from gitconfig, explain why (diff)
downloaddotfiles-0a3f8e3c938cf1979cbc64478df9ce2091b8fdcf.tar.gz
dotfiles-0a3f8e3c938cf1979cbc64478df9ce2091b8fdcf.zip
Make git config part of standard install
Frees up -g as an option for install GnuPG
Diffstat (limited to 'install')
-rwxr-xr-xinstall10
1 files changed, 4 insertions, 6 deletions
diff --git a/install b/install
index deb426be..430a4e1d 100755
--- a/install
+++ b/install
@@ -24,6 +24,7 @@ ln -insv $dotfiles/bash/bash_profile $HOME/.bash_profile
ln -insv $dotfiles/bash/bashrc $HOME/.bashrc
ln -insv $dotfiles/bash/bashrc.d $HOME/.bashrc.d
ln -insv $dotfiles/curl/curlrc $HOME/.curlrc
+ln -insv $dotfiles/git/gitconfig $HOME/.gitconfig
ln -insv $dotfiles/readline/inputrc $HOME/.inputrc
ln -insv $dotfiles/sh/profile $HOME/.profile
ln -insv $dotfiles/sh/profile.d $HOME/.profile.d
@@ -36,7 +37,9 @@ while getopts :gmnptx opt
do
case $opt in
g)
- ln -insv $dotfiles/git/gitconfig $HOME/.gitconfig
+ mkdir -pv $HOME/.gnupg
+ ln -insv $dotfiles/gnupg/gpg.conf $HOME/.gnupg
+ ln -insv $dotfiles/gnupg/gpg-agent.conf $HOME/.gnupg
;;
m)
ln -insv $dotfiles/mutt/muttrc $HOME/.muttrc
@@ -46,11 +49,6 @@ do
mkdir -pv $HOME/.config $HOME/.local/share/newsbeuter
ln -insv $dotfiles/newsbeuter $HOME/.config
;;
- p)
- mkdir -pv $HOME/.gnupg
- ln -insv $dotfiles/gnupg/gpg.conf $HOME/.gnupg
- ln -insv $dotfiles/gnupg/gpg-agent.conf $HOME/.gnupg
- ;;
t)
ln -insv $dotfiles/tmux/tmux.conf $HOME/.tmux.conf
;;