Phase 9: Set zsh as Default Shell
Phase 9: Set zsh as Default Shell
Bash is the default Termux shell. Change to zsh for consistency with workstation.
Change Default Shell
chsh -s zsh
# Verify
cat /data/data/com.termux/files/usr/etc/passwd | grep $(whoami)
Expected
u0_a385::10385:10385::/data/data/com.termux/files/home:/data/data/com.termux/files/usr/bin/zsh
Persistence Fallback
If chsh doesn’t persist across Termux updates, add to .bashrc:
echo 'exec zsh' >> ~/.bashrc
Verify
Close and reopen Termux. Terminal should show zsh prompt (starship) instead of bash $:
u0_a385 ~ 20:30 >
| Check | Status |
|---|---|
|
[x] |
zsh prompt on new Termux session |
[ ] |
Persistence fallback tested |
[ ] |