meta:install: Do nothing if login shell is zsh already

This commit is contained in:
2025-03-10 16:14:24 +01:00
parent 9e7dd882cc
commit d23ed6a5cb

View File

@@ -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