Skip to content

Instantly share code, notes, and snippets.

@mktakuya
Created January 26, 2015 09:03
Show Gist options
  • Save mktakuya/9dd2f7d3e4cd8b407772 to your computer and use it in GitHub Desktop.
Save mktakuya/9dd2f7d3e4cd8b407772 to your computer and use it in GitHub Desktop.
dotfiles自動撒き撒きマシーン
#!/bin/sh
cd $(dirname $0)
for dotfile in .?*
do
if [ $dotfile != '..' ] && [ $dotfile != '.git' ]
then
ln -Fis "$PWD/$dotfile" $HOME
fi
done
mkdir ~/.vimbackup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment