Clone in home dir.
$ cd;git clone [email protected]:inosy22/dotfiles.git
This scripts create symbolic link to home dir from dotfiles. This command run `rm -i ~/${target_files} before to create symbolic link.
$ bash ~/dotfiles/link.sh;source ~/.bash_profile
If you want to create by compulsion, you should use -f option.
This command run rm -f ~/${target_file}
before to create symbolic link.
$ bash ~/dotfiles/link.sh -f;source ~/.bash_profile
If you want to add dotfiles, you should add file to files dir. link.sh is automatically pick up file in files dir.
# create new file
$ vim ~/dotfiles/files/${target_file}
# run script
$ sh ~/dotfiles/link.sh -f