Add and integrate sdn-open
All checks were successful
Alpine 3.22 Success
Arch Linux AUR Success
OpenBSD 7.8 Success

Originally I thought that not supporting %cd would be an issue,
making this kind of utility unclean.

It turns out the desire to launch xdg-open quickly is stronger.
This commit is contained in:
2025-11-20 20:49:14 +01:00
parent 977d1a7120
commit 3e39cc5660
6 changed files with 96 additions and 10 deletions

23
sdn-open.1 Normal file
View File

@@ -0,0 +1,23 @@
.Dd November 20, 2025
.Dt SDN-OPEN 1
.Os
.Sh NAME
.Nm sdn-open
.Nd run Midnight Commander open configuration externally
.Sh SYNOPSIS
.Nm sdn-open
.Ar path
.Sh DESCRIPTION
.Nm
invokes
.Xr xdg-open 1
on the passed filename.
.Pp
If it succeeds in finding a
.Xr mc 1
.Pa mc.ext.ini
file, it will first process it, and run any matching command instead.
.Sh REPORTING BUGS
Use
.Lk https://git.janouch.name/p/sdn
to report bugs, request features, or submit pull requests.