Commit a54f21b6fd2a

Vincent Demeester <vincent@sbr.pm>
2026-04-16 11:31:28
fix: use full path for chsh in Termux sync scripts
1 parent 2f91237
Changed files (2)
android
android/osaka/sync.sh
@@ -41,7 +41,7 @@ echo "==> Reloading Termux settings..."
 termux-reload-settings 2>/dev/null || true
 
 echo "==> Setting zsh as default shell..."
-chsh -s zsh 2>/dev/null || true
+chsh -s /data/data/com.termux/files/usr/bin/zsh 2>/dev/null || true
 
 echo "==> Pulling latest from repo..."
 (cd ~/src/home && git pull --ff-only 2>/dev/null || echo "  ⚠️  Could not fast-forward, run git pull manually")
android/suzu/sync.sh
@@ -39,7 +39,7 @@ echo "==> Reloading Termux settings..."
 termux-reload-settings 2>/dev/null || true
 
 echo "==> Setting zsh as default shell..."
-chsh -s zsh 2>/dev/null || true
+chsh -s /data/data/com.termux/files/usr/bin/zsh 2>/dev/null || true
 
 echo "==> Pulling latest from repo..."
 (cd ~/src/home && git pull --ff-only 2>/dev/null || echo "  ⚠️  Could not fast-forward, run git pull manually")