Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
github
oh-my-zsh
Commits
5d6c3501
Commit
5d6c3501
authored
Aug 15, 2016
by
Ahmad Awais
Committed by
Robby Russell
Aug 15, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enhancement: Show/Hide OSX hidden files
💯
(#5275)
parent
341e83f6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
10 deletions
+16
-10
README.md
plugins/osx/README.md
+12
-10
osx.plugin.zsh
plugins/osx/osx.plugin.zsh
+4
-0
No files found.
plugins/osx/README.md
View file @
5d6c3501
...
@@ -15,13 +15,15 @@ Original author: [Sorin Ionescu](https://github.com/sorin-ionescu)
...
@@ -15,13 +15,15 @@ Original author: [Sorin Ionescu](https://github.com/sorin-ionescu)
## Commands
## Commands
| Command | Description |
| Command | Description |
|:--------------|:-----------------------------------------------|
| :-------------- | :----------------------------------------------- |
|
`tab`
| Open the current directory in a new tab |
|
`tab`
| Open the current directory in a new tab |
|
`ofd`
| Open the current directory in a Finder window |
|
`ofd`
| Open the current directory in a Finder window |
|
`pfd`
| Return the path of the frontmost Finder window |
|
`pfd`
| Return the path of the frontmost Finder window |
|
`pfs`
| Return the current Finder selection |
|
`pfs`
| Return the current Finder selection |
|
`cdf`
|
`cd`
to the current Finder directory |
|
`cdf`
|
`cd`
to the current Finder directory |
|
`pushdf`
|
`pushd`
to the current Finder directory |
|
`pushdf`
|
`pushd`
to the current Finder directory |
|
`quick-look`
| Quick-Look a specified file |
|
`quick-look`
| Quick-Look a specified file |
|
`man-preview`
| Open a specified man page in Preview app |
|
`man-preview`
| Open a specified man page in Preview app |
|
`showfiles`
| Show hidden files |
|
`hidefiles`
| Hide the hidden files |
plugins/osx/osx.plugin.zsh
View file @
5d6c3501
...
@@ -260,3 +260,7 @@ EOF
...
@@ -260,3 +260,7 @@ EOF
esac
esac
osascript
-e
"tell application
\"
iTunes
\"
to
$opt
"
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"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment