How to edit/delete a .dot_file on mac without using Terminal
There is a way to open hidden files, even if normally they are not shown in Finder. You can edit .bash_profile
and comment out the lines that are causing problems or just delete everything to make the entire file empty.
- Open a plain text editor, for example TextEdit
- Press Command + o
- Navigate to your home directory
- If you don't see
.bash_profile
, then press Command + Shift + . to show hidden files (on my US keyboard layout, Shift + . is actually >, so perhaps the real shortcut is actually Command + >) - Select
.bash_profile
, fix the problem, and save it