ish-app / ish

Linux shell for iOS
https://ish.app
Other
17.21k stars 910 forks source link

.bashrc and exit #1981

Open MattIOSiSH opened 1 year ago

MattIOSiSH commented 1 year ago

I've gotten myself into a real pickle. I put 'exit' at the end of root's .bashrc because many times (but not always) I wouldn't get the prompt back until I hit Return. Now iSH just exits out. I've tried a quick ^Z but that doesn't work. Any ideas? TIA

MattIOSiSH commented 1 year ago

Found it. In Settings use the Recovery mode add the -p to the login command. Then IMMEDIATELY remove that exit statement! 😉

MarisaDAZA commented 1 year ago

Actually, you can edit the .bashrc in ‘Files’ app.

AlfonsoRReyes commented 1 year ago

Actually, you can edit the .bashrc in ‘Files’ app.

But “Files” doesn’t show any dot files. How do you do it?

MattIOSiSH commented 1 year ago

In - Files - I use “On My iPad”. But in iSH have renamed it to DOTbashrc (or whatever) and copied to my iSH Files directory.

On Sun, Oct 15, 2023 at 1:57 PM AlfonsoRReyes @.***> wrote:

Actually, you can edit the .bashrc in ‘Files’ app.

But “Files” doesn’t show any dot files. How do you do it?

— Reply to this email directly, view it on GitHub https://github.com/ish-app/ish/issues/1981#issuecomment-1763461191, or unsubscribe https://github.com/notifications/unsubscribe-auth/A367GT7ACYOONHX47IGSPK3X7QPZ3ANCNFSM6AAAAAAS2TEGHM . You are receiving this because you authored the thread.Message ID: @.***>