Change the default user shell to zsh #59

Merged
raito merged 1 commit from z-shell into main 2024-07-17 12:56:48 +00:00
Owner

closes #11

This works fine for the root user, but prompts other non-system users if they want to create a ~/.zshrc, we could probably fix this by creating .zshrc tempfiles for every other normal user.
I'm not quite sure if the auto-suggestion works 100% correctly, because in the VM I tested it was displayed in the same color as the actually present user input, I assume this is because the vm tty can only display a low amount of colors.

closes #11 This works fine for the root user, but prompts other non-system users if they want to create a ~/.zshrc, we could probably fix this by creating .zshrc tempfiles for every other normal user. I'm not quite sure if the auto-suggestion works 100% correctly, because in the VM I tested it was displayed in the same color as the actually present user input, I assume this is because the vm tty can only display a low amount of colors.
raito was assigned by janik 2024-07-12 17:27:23 +00:00
k900 was assigned by janik 2024-07-12 17:27:23 +00:00
janik added 1 commit 2024-07-12 17:27:27 +00:00
Owner

The truly cursed workaround for this is to add zsh-newuser-install() { true } to the global zshrc (or possibly zshenv, given load order fuckery)

The truly cursed workaround for this is to add `zsh-newuser-install() { true }` to the global zshrc (or possibly zshenv, given load order fuckery)
janik force-pushed z-shell from caa2af0bb5 to bed5ef022f 2024-07-12 17:51:01 +00:00 Compare
Author
Owner

The truly cursed workaround for this is to add zsh-newuser-install() { true } to the global zshrc (or possibly zshenv, given load order fuckery)

Would you recommend doing this? I was thinking about using systemd-tmpfiles, but not sure if that's less cursed.

> The truly cursed workaround for this is to add zsh-newuser-install() { true } to the global zshrc (or possibly zshenv, given load order fuckery) Would you recommend doing this? I was thinking about using systemd-tmpfiles, but not sure if that's less cursed.
raito changed title from WIP: change the default user shell to zsh to Change the default user shell to zsh 2024-07-17 12:55:08 +00:00
raito merged commit 81fc914d79 into main 2024-07-17 12:56:48 +00:00
raito referenced this pull request from a commit 2024-07-17 12:56:49 +00:00
janik deleted branch z-shell 2024-07-17 13:33:35 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: the-distro/infra#59
No description provided.