23 lines
490 B
Markdown
23 lines
490 B
Markdown
# sx-open
|
|
|
|
sx-open is an attempt to implement a saner alternative to xdg-open.
|
|
|
|
## Installation
|
|
|
|
Clone the repo, drop sx-open.cfg into your $HOME/.config.
|
|
As this thing is meant to replace xdg-open, you will probably want to link sx-open into xdg-open somewhere in your $PATH as to override the default one.
|
|
|
|
## Usage
|
|
|
|
sx-open [-dhv] <uri/file>
|
|
Flags:
|
|
-d Dry run
|
|
-v Verbose
|
|
-h Help
|
|
|
|
### Exit codes
|
|
|
|
* 1 — action failed
|
|
* 2 — file not found
|
|
* 3 — no handlers found
|