meta:install: Do nothing if login shell is zsh already
This commit is contained in:
@@ -7,9 +7,10 @@
|
|||||||
|
|
||||||
- shell:
|
- shell:
|
||||||
-
|
-
|
||||||
command: command -v zsh >/dev/null && chsh -s "$(command -v zsh)"
|
command: grep -q "^${USER}:.*:$(command -v zsh)$" /etc/passwd || { command -v zsh >/dev/null && chsh -s "$(command -v zsh)" }
|
||||||
description: Changing login shell to zsh
|
description: Changing login shell to zsh [chsh -s "$(command -v zsh)"]
|
||||||
stdin: true
|
stdin: true
|
||||||
|
quiet: true
|
||||||
-
|
-
|
||||||
command: meta/git-remote
|
command: meta/git-remote
|
||||||
description: Updating git remote to use ssh
|
description: Updating git remote to use ssh
|
||||||
|
|||||||
Reference in New Issue
Block a user