Skip to content

Instantly share code, notes, and snippets.

@fikovnik
Created June 7, 2015 17:06
Show Gist options
  • Save fikovnik/b7aa19f909efa4822635 to your computer and use it in GitHub Desktop.
Save fikovnik/b7aa19f909efa4822635 to your computer and use it in GitHub Desktop.
Install .dot-files
for i in .dot-files/*; do f=${i#.dot-files/dot}; if [ -f ~/$f ]; then echo "$f: exists"; else ln -s ".dot-files/dot$f" $f; fi done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment