Remove all things specific to Ivan Malison.
This commit is contained in:
parent
86417703b7
commit
3fffe726ff
@ -82,9 +82,6 @@
|
|||||||
"icu4c",
|
"icu4c",
|
||||||
"intltool",
|
"intltool",
|
||||||
"jpeg",
|
"jpeg",
|
||||||
"rvm",
|
|
||||||
"bundler",
|
|
||||||
"foreman",
|
|
||||||
"less",
|
"less",
|
||||||
"libevent",
|
"libevent",
|
||||||
"libffi",
|
"libffi",
|
||||||
|
@ -75,10 +75,7 @@
|
|||||||
added = green
|
added = green
|
||||||
changed = yellow
|
changed = yellow
|
||||||
untracked = red
|
untracked = red
|
||||||
|
|
||||||
[user]
|
|
||||||
email = IvanMalison@gmail.com
|
|
||||||
name = Ivan Malison
|
|
||||||
|
|
||||||
[merge]
|
[merge]
|
||||||
conflictstyle = diff3
|
conflictstyle = diff3
|
||||||
|
[include]
|
||||||
|
path = ~/.gitconfig.custom
|
||||||
|
@ -64,10 +64,22 @@ def change_shell(ctx):
|
|||||||
ctx.run('sudo chsh -s $(which zsh) $(whoami)')
|
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(change_shell)
|
||||||
|
ns.add_task(customize_user_settings)
|
||||||
ns.add_task(dotfiles)
|
ns.add_task(dotfiles)
|
||||||
ns.add_task(setup)
|
|
||||||
ns.add_task(install_python_libraries)
|
|
||||||
ns.add_task(install_npm_libraries)
|
ns.add_task(install_npm_libraries)
|
||||||
ns.add_task(vimstall)
|
ns.add_task(install_python_libraries)
|
||||||
ns.add_task(powerline)
|
ns.add_task(powerline)
|
||||||
|
ns.add_task(setup)
|
||||||
|
ns.add_task(vimstall)
|
||||||
|
Loading…
Reference in New Issue
Block a user