0

"." files like ".bashrc" are invisible to the finder. How do you make them visible so you can open then inside editors like textedit or sublime?

Oliver Salzburg
  • 89,072
  • 65
  • 269
  • 311

2 Answers2

0

I don't know any method to make these files visible from the Finder (there may well be one, though), but if you want to edit a .bashrc, you are apparently familiar with the shell anyway.

Open a Terminal, and from the shell, open the file like this:

open -a /Applications/TextEdit.app .bashrc

You need to speficy the application to open it with because the default one is the shell, which is not helpful in this case.

Update: Pressing ⇧⌘. (Command-Shift-Period) makes the hidden files visible in a Finder window. Pressing that again hides them.

JyrgenN
  • 141
0

Open a terminal, then type the following:

defaults write com.apple.finder AppleShowAllFiles TRUE
killall Finder

If you are in an Open or Save dialog, you can use CONTROL+SHIFT+PERIOD.