Skip to content

Commit a92ef28

Browse files
committed
Simplify the shebang; add usage exampels
1 parent 9a0f134 commit a92ef28

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

fs/reveal

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
1-
#!/usr/bin/env bash
1+
#!/usr/bin/env sh
22
# Reveal the file/folder in the Finder.
3+
#
4+
# Usage examples:
5+
#
6+
# reveal . # reveal the current folder
7+
# reveal ~/Desktop # reveal a folder
8+
# reveal ~/Desktop/cat.jpg # reveal a file
9+
#
310

411
set -o errexit
512
set -o nounset

0 commit comments

Comments
 (0)