1
0
Fork 0
mirror of https://github.com/hcartiaux/dotfiles.git synced 2024-10-18 17:25:23 +02:00

[install] Fix syntax errors

This commit is contained in:
Hyacinthe Cartiaux 2013-05-02 23:59:38 +02:00
parent d649f3e734
commit 3c65896695

View file

@ -2,7 +2,7 @@
set -x # Debug
$DOTFILES=~/.dotfiles
DOTFILES=~/.dotfiles
[[ ! -d ~/.dotfiles ]] && git clone https://github.com/hcartiaux/dotfiles.git $DOTFILES
[[ -d ~/.dotfiles ]] && ( cd $DOTFILES ; git pull )
@ -19,8 +19,6 @@ ln -sf $DOTFILES/zsh/zshrc ~/.zshrc
## bash
mv ~/.bashrc ~/.inputrc ~/.bash_profile ~/.profile ~/.bash_logout $BACKUP
ln -sf $DOTFILES/bash/bashrc ~/.bashrc
ln -sf $DOTFILES/bash/inputrc ~/.inputrc
ln -sf $DOTFILES/bash/bash_profile ~/.bash_profile
@ -54,5 +52,5 @@ ln -sf $DOTFILES/git/gitconfig ~/.gitconfig
mkdir -p ~/.ssh/sockets
ln -s $DOTFILES/ssh/sshpubkey ~/.ssh/sshpubkey
[! -f ~/.ssh/config ] ln -s $DOTFILES/ssh/config ~/.ssh/config
[[ ! -f ~/.ssh/config ]] ln -s $DOTFILES/ssh/config ~/.ssh/config