sh: Switch from sfz to miniserve in serve alias

Serve alias (now also with a more appropriately named file) will now
look for miniserve before any other static file serve program. I also
replaced sfz with miniserve in my installed programs. That is because
sfz has been unmaintained for a long time and miniserve completely
fulfills all my needs while still being maintained and recommended.
This commit is contained in:
Marty Oehme 2025-01-05 16:43:52 +01:00
parent a0802d69f8
commit 5b723ddfb0
Signed by: Marty
GPG key ID: EDBF2ED917B2EF6A
2 changed files with 4 additions and 2 deletions
bootstrap
sh/.config/sh/alias.d

View file

@ -167,6 +167,7 @@ mermaid-cli Generation of diagram and flowchart from text in a similar manner as
mimeo Open files by MIME-type or file name using regular expressions. A
minidlna A DLNA/UPnP-AV Media server (aka ReadyDLNA) R
minio-client Replacement for ls, cp, mkdir, diff and rsync commands for filesystems and object storage R
miniserve Tool to serve files via HTTP R
mopidy-bandcamp Mopidy backend for Bandcamp A
mopidy-iris A Mopidy Web client that utilizes the Spotify and EchoNest frameworks. (Formerly Spotmop) A
mopidy-local Mopidy extension for local media playback A
@ -282,7 +283,6 @@ scc-bin Sloc, Cloc and Code: scc is a very fast accurate code counter with compl
scrcpy Display and control your Android device R
screen Full-screen window manager that multiplexes a physical terminal R
sd Intuitive find & replace R
sfz A simple static file server A
shellcheck-bin Shell script analysis tool (binary release, static) A
shfmt Format shell programs R
sioyek PDF viewer for research papers and technical books. A

Can't render this file because it has a wrong number of fields in line 32.

View file

@ -2,7 +2,9 @@
## Quickly bring up a file server for
# the current directory.
if exist sfz; then
if exist miniserve; then
alias serve="miniserve"
elif exist sfz; then
alias serve="sfz"
elif exist gossa; then
alias serve="gossa"