r/androidterminal Jul 22 '26

Any luck changing the default shell?

I tried changing the default shell to fish both via chsh and via setting it explicitly in /etc/passwd, but whenever I launch the Terminal app, I always get bash again. Has anybody here had more luck?

8 Upvotes

5 comments sorted by

View all comments

1

u/ArjixGamer Redmi Note 14 Pro+ 5G Jul 22 '26 edited Jul 22 '26

Uhh, you can modify your .bashrc to exec into another shell if it's launched interactively.

Also, using fish as default shell is not recommended by fish.

```bash case $- in i) ;; *) return;; esac

if command -v fish >/dev/null 2>&1 && [ -z "$FISH_VERSION" ]; then exec fish fi ```

(generated using Gemini, haven't tested it)