add change_shell to tasks.
This commit is contained in:
parent
78ba077792
commit
5be88c10e6
@ -3,4 +3,4 @@ dotfiles
|
|||||||
To get started run:
|
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``
|
||||||
|
2
start.sh
2
start.sh
@ -12,7 +12,7 @@ function debian() {
|
|||||||
$INSTALL_COMMAND build-essential
|
$INSTALL_COMMAND build-essential
|
||||||
$INSTALL_COMMAND git
|
$INSTALL_COMMAND git
|
||||||
$INSTALL_COMMAND python
|
$INSTALL_COMMAND python
|
||||||
$INSTALL_COMMAND python-dev-all
|
$INSTALL_COMMAND python-dev
|
||||||
$INSTALL_COMMAND python-pip
|
$INSTALL_COMMAND python-pip
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -23,6 +23,7 @@ def setup(ctx):
|
|||||||
linux.all(ctx)
|
linux.all(ctx)
|
||||||
dotfiles(ctx, 'f')
|
dotfiles(ctx, 'f')
|
||||||
install_python_libraries(ctx)
|
install_python_libraries(ctx)
|
||||||
|
change_shell(ctx)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -51,6 +52,12 @@ def vimstall(ctx):
|
|||||||
ctx.run('vim +BundleInstall! +q +q')
|
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(dotfiles)
|
||||||
ns.add_task(setup)
|
ns.add_task(setup)
|
||||||
ns.add_task(install_python_libraries)
|
ns.add_task(install_python_libraries)
|
||||||
|
Loading…
Reference in New Issue
Block a user