-
Notifications
You must be signed in to change notification settings - Fork 281
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
chsh
fails because, in the case of bash -> zsh switch, it takes as argoument which zsh
, which returns /usr/sbin/zsh
.
The problem is that the zsh path in sbin
is not in /etc/shells
.
Steps to reproduce
- Install ML4W with Dotfiles Installer.
- Execute
.config/ml4w/scripts/shell.sh
- The script executes
chsh -s $(which zsh)
. which zsh
returns/usr/sbin/zsh
./usr/sbin/zsh
is not listed in/etc/shells
, sochsh
fails.
Expected behavior
chsh
should take always /usr/bin/zsh
as an argoument.
Screenshots
No response
Distribution
Arch Linux
If Other, specify
No response
Additional context
ML4W Version: Stable Release
Code of Conduct
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working