Check its required before chsh

Fixes #17.
This commit is contained in:
Kenneth Benzie 2018-11-30 20:05:56 +00:00
parent 1e46ca4633
commit 736a281256

View File

@ -7,8 +7,8 @@
- brew:
- zsh
- command:
- install: sudo chsh -s `which zsh` $USER
remove: sudo chsh -s `which bash` $USER
- install: 'finger $USER | grep zsh || sudo chsh -s `which zsh` $USER'
remove: 'finger $USER | grep zsh && sudo chsh -s `which bash` $USER'
- symlink:
- {src: zlogin, dst: ~/.zlogin}
- {src: zlogout, dst: ~/.zlogout}