add change_shell to tasks.

This commit is contained in:
Ivan Malison 2014-10-10 16:22:15 -07:00
parent 78ba077792
commit 5be88c10e6
3 changed files with 9 additions and 2 deletions

View File

@ -3,4 +3,4 @@ dotfiles
To get started run:
``curl https://raw.githubusercontent.com/IvanMalison/dotfiles/master/start.sh | sh /dev/stdin``
``curl https://raw.githubusercontent.com/IvanMalison/dotfiles/master/start.sh | bash /dev/stdin``

View File

@ -12,7 +12,7 @@ function debian() {
$INSTALL_COMMAND build-essential
$INSTALL_COMMAND git
$INSTALL_COMMAND python
$INSTALL_COMMAND python-dev-all
$INSTALL_COMMAND python-dev
$INSTALL_COMMAND python-pip
}

View File

@ -23,6 +23,7 @@ def setup(ctx):
linux.all(ctx)
dotfiles(ctx, 'f')
install_python_libraries(ctx)
change_shell(ctx)
@ -51,6 +52,12 @@ def vimstall(ctx):
ctx.run('vim +BundleInstall! +q +q')
@ctask
def change_shell(ctx):
ctx.run('sudo chsh -s $(which zsh) $(whoami)')
ns.add_task(change_shell)
ns.add_task(dotfiles)
ns.add_task(setup)
ns.add_task(install_python_libraries)