install: Check if zsh exists before setting shell

This commit is contained in:
2022-02-02 16:46:27 +01:00
parent 9817ef3f63
commit 27d537a02a

View File

@@ -1,6 +1,6 @@
- shell: - shell:
- -
command: chsh -s "$(command -v zsh)" command: command -v zsh >/dev/null && chsh -s "$(command -v zsh)"
description: Changing login shell to zsh description: Changing login shell to zsh
stdin: true stdin: true
stdout: true stdout: true