install: Check if zsh exists before setting shell
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user