diff options
Diffstat (limited to 'bin/open')
-rwxr-xr-x | bin/open | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -12,19 +12,30 @@ usage() { help() { cat <<-'EOF' + Options: -h, --help show this message + FILE path to file to be opened + + + Wrapper for xdg-open(1). + + Examples: Open an HTML file on the current $BROWSER: + $ open index.html + Open multiple PDF files (with zathura): + $ open *.pdf EOF } + for flag in "$@"; do case "$flag" in --) |