fix symlinking

This commit is contained in:
Matthias Kretschmann 2016-05-07 21:43:41 +02:00
parent b72fff90ab
commit 7c4e41ca44
Signed by: m
GPG Key ID: BD3C1F3EDD7831FC
2 changed files with 3 additions and 3 deletions

View File

@ -6,8 +6,8 @@
```bash
git clone https://www.git.berlin/kremalicious/dotfiles-server.git
cd dotfiles-server/bin
cd dotfiles-server
# install dotfiles
./install-dotfiles.sh
./bin/install-dotfiles.sh
```

View File

@ -6,7 +6,7 @@ FILES=".bash_aliases .bashrc .profile bin .vimrc"
# remove old version and symlink files
for FILE in $FILES; do
rm ~/$FILE
ln -s $FILE ~/$FILE
ln -s $PWD/$FILE ~/$FILE
echo "$(tput setaf 64)$(tput sgr0) Symlink created to $(tput setaf 37)$FILE$(tput sgr0)"
done