diff --git a/README.md b/README.md index 13c20859..bc2e3f17 100644 --- a/README.md +++ b/README.md @@ -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`` diff --git a/start.sh b/start.sh index 17ca2d3e..8070966f 100644 --- a/start.sh +++ b/start.sh @@ -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 } diff --git a/tasks/__init__.py b/tasks/__init__.py index 8914c0c7..79cef825 100644 --- a/tasks/__init__.py +++ b/tasks/__init__.py @@ -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)