diff --git a/dotfiles/cider/bootstrap.json b/dotfiles/cider/bootstrap.json index 9f75e8a9..0bcc5602 100644 --- a/dotfiles/cider/bootstrap.json +++ b/dotfiles/cider/bootstrap.json @@ -82,9 +82,6 @@ "icu4c", "intltool", "jpeg", - "rvm", - "bundler", - "foreman", "less", "libevent", "libffi", diff --git a/dotfiles/gitconfig b/dotfiles/gitconfig index e9438bc7..7f6945ec 100644 --- a/dotfiles/gitconfig +++ b/dotfiles/gitconfig @@ -75,10 +75,7 @@ added = green changed = yellow untracked = red - -[user] - email = IvanMalison@gmail.com - name = Ivan Malison - [merge] conflictstyle = diff3 +[include] + path = ~/.gitconfig.custom diff --git a/tasks/__init__.py b/tasks/__init__.py index 8d609c78..54f0b417 100644 --- a/tasks/__init__.py +++ b/tasks/__init__.py @@ -64,10 +64,22 @@ def change_shell(ctx): ctx.run('sudo chsh -s $(which zsh) $(whoami)') +@ctask +def customize_user_settings(ctx): + input_function = input if sys.version_info.major == 3 else raw_input + username = input_function("Enter the user's full name") + email = input_function("Enter the user's Email.") + with os.path.expanduser('~/.gitconfig.custom', 'w') as custom_file: + custom_file.write("""[user] + name = {0} + email = {1}""".format(username, email)) + + ns.add_task(change_shell) +ns.add_task(customize_user_settings) ns.add_task(dotfiles) -ns.add_task(setup) -ns.add_task(install_python_libraries) ns.add_task(install_npm_libraries) -ns.add_task(vimstall) +ns.add_task(install_python_libraries) ns.add_task(powerline) +ns.add_task(setup) +ns.add_task(vimstall)