Skip to content

Commit

Permalink
browse
Browse files Browse the repository at this point in the history
  • Loading branch information
gregorgorjanc committed Nov 21, 2016
1 parent f60b237 commit e115610
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions func_browse.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@

# --- File browser(s) ---

browse()
{
if [ $(uname) == Darwin ]; then
if [ $# == 0 ]; then
/usr/bin/open . &
else
/usr/bin/open $* &
fi
fi
}
export -f browse

0 comments on commit e115610

Please sign in to comment.