On the Mac, a lot of programs hide the .zzz extension by default. Is there a way to turn this behaviour off so that extensions are never hidden by default?
I know I don't actually need it, I just prefer it to be there.
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.
Sign up to join this communityWith Finder active, hit Cmd+, to go to preferences. In the advanced section, you will find the option to show file extensions.
AppleShowAllExtensions
controls this behavior. It defaults to 0
(false
). Read the value by entering this in a terminal:
defaults read -g AppleShowAllExtensions
Set it to 1
(true
) by entering the following in a terminal:
defaults write -g AppleShowAllExtensions -bool TRUE
To also restart the Finder so that the change takes effect immediately (rather than after restarting / logging out & back in):
defaults write -g AppleShowAllExtensions -bool TRUE && killall Finder
To reset to the default value (and restart the Finder):
defaults delete -g AppleShowAllExtensions && killall Finder
Resources:
defaults
documentation is available at https://keith.github.io/xcode-man-pages/defaults.1.html and https://ss64.com/osx/defaults.html.