-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor2 #42
base: master
Are you sure you want to change the base?
Refactor2 #42
Conversation
…nd init) are moved to a files dir; .dots file is renamed to setup.sh
… home directory; here it is not the place to call git pull.
Hi @dportabella, thanks for the pull request, I hope to check it out later this week. |
@dportabella I think the meat of the changes look pretty good, thanks for putting this together. I'd prefer to not have the dotfiles be placed in a subdirectory Renaming I'll add some comments inline to the PR. |
function doIt() { | ||
rsync --exclude ".git/" --exclude ".DS_Store" --exclude "bootstrap.sh" \ | ||
--exclude "README.md" --exclude "LICENSE" -avh --no-perms . ~; | ||
rsync --exclude ".DS_Store" -avh --no-perms files ~; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about something like this?
#!/usr/bin/env bash
cd "$(dirname "${BASH_SOURCE}")";
function doIt() {
rsync --exclude ".git/" \
--exclude ".DS_Store" \
--exclude "README.md" \
--exclude "LICENSE" \
--exclude "*.sh" \
-avh --no-perms . ~;
source ~/.bash_profile;
}
...
is there a reason why you prefer to not have the dotfiles (and other directories, such as bin and init) be placed in a subdirectory Maybe we could rename this dir |
Hi @dportabella, sorry I thought I had replied to this awhile back, I just noticed that is not the case. It is just a personal preference to have the Curious if others also feel we should restructure the project a bit to add a |
refactoring.
setup.sh boostrap calls the bootstrap.ch script
calling bootstrap should sync this local dev-setup directory with the home directory; here it is not the place to call git pull.