diff options
author | Matt Kohls <mattkohls13@gmail.com> | 2017-02-08 23:40:11 -0500 |
---|---|---|
committer | Matt Kohls <mattkohls13@gmail.com> | 2017-02-08 23:40:11 -0500 |
commit | ab7c98859fa8a855fbf65822fcbfd3519b33a5a0 (patch) | |
tree | 228cc261798ac9fc87888c9c4e7e39d8d1ed179f /linker.sh | |
parent | a601aa7d90c5809d4a41efd739debc7d122cee41 (diff) | |
download | dotfiles-ab7c98859fa8a855fbf65822fcbfd3519b33a5a0.tar.gz dotfiles-ab7c98859fa8a855fbf65822fcbfd3519b33a5a0.tar.bz2 dotfiles-ab7c98859fa8a855fbf65822fcbfd3519b33a5a0.zip |
Preventing errors with $DIR
Diffstat (limited to 'linker.sh')
-rwxr-xr-x | linker.sh | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -11,7 +11,7 @@ cd ~ if [[ -e .bashrc ]] ; then cp .bashrc .bashrc.original fi -ln -s $DIR/.bashrc ~/.bashrc +ln -s "$DIR"/.bashrc ~/.bashrc # Next .vim(rc) if [[ -e .vimrc ]] ; then @@ -20,8 +20,8 @@ fi if [[ -e .vim ]] ; then cp -r .vim .vim.original fi -ln -s $DIR/.vimrc ~/.vimrc -ln -s $DIR/.vim ~/.vim +ln -s "$DIR"/.vimrc ~/.vimrc +ln -s "$DIR"/.vim ~/.vim # Next .git if [[ -e .gitconfig ]] ; then @@ -30,6 +30,6 @@ fi if [[ -e .gitignore_global ]] ; then cp .gitignore_global .gitignore_global.original fi -ln -s $DIR/.gitconfig ~/.gitconfig -ln -s $DIR/.gitignore_global .gitignore_global +ln -s "$DIR"/.gitconfig ~/.gitconfig +ln -s "$DIR"/.gitignore_global ~/.gitignore_global |