fix symlinking
This commit is contained in:
parent
b72fff90ab
commit
7c4e41ca44
@ -6,8 +6,8 @@
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone https://www.git.berlin/kremalicious/dotfiles-server.git
|
git clone https://www.git.berlin/kremalicious/dotfiles-server.git
|
||||||
cd dotfiles-server/bin
|
cd dotfiles-server
|
||||||
|
|
||||||
# install dotfiles
|
# install dotfiles
|
||||||
./install-dotfiles.sh
|
./bin/install-dotfiles.sh
|
||||||
```
|
```
|
||||||
|
@ -6,7 +6,7 @@ FILES=".bash_aliases .bashrc .profile bin .vimrc"
|
|||||||
# remove old version and symlink files
|
# remove old version and symlink files
|
||||||
for FILE in $FILES; do
|
for FILE in $FILES; do
|
||||||
rm ~/$FILE
|
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)"
|
echo "$(tput setaf 64)✓$(tput sgr0) Symlink created to $(tput setaf 37)$FILE$(tput sgr0)"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user