From 5d6c3501663e4a2779e3c529a8940da0d16dd115 Mon Sep 17 00:00:00 2001 From: Ahmad Awais Date: Mon, 15 Aug 2016 05:55:02 +0500 Subject: Enhancement: Show/Hide OSX hidden files 💯 (#5275) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/osx/osx.plugin.zsh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'plugins/osx/osx.plugin.zsh') diff --git a/plugins/osx/osx.plugin.zsh b/plugins/osx/osx.plugin.zsh index 4dbc75787..f69bd7e5d 100644 --- a/plugins/osx/osx.plugin.zsh +++ b/plugins/osx/osx.plugin.zsh @@ -260,3 +260,7 @@ EOF esac osascript -e "tell application \"iTunes\" to $opt" } + +# Show/hide hidden files in the Finder +alias showfiles="defaults write com.apple.finder AppleShowAllFiles -bool true && killall Finder" +alias hidefiles="defaults write com.apple.finder AppleShowAllFiles -bool false && killall Finder" -- cgit v1.2.3-70-g09d2