libedit
- musl defines
__STDC_ISO_10646__instdc-predef.hwhich gets included bygccby default (unlikeclang) readline/history.handreadline/tilde.hcan be symlinked toeditline/readline.h- Prefer symlinks to
libedit.soinstead of linker scriptsINPUT(-ledit) macosuseslibeditas its default line editing and history library
References
Section titled “References”- https://github.com/chimera-linux/cports/blob/master/main/libedit
- https://github.com/chimera-linux/libedit-chimera
- https://github.com/CTSRD-CHERI/cheribsd/blob/master/bin/sh/dot.shrc
- https://github.com/ralish/dotfiles/blob/main/editline/.editrc
- https://github.com/sabotage-linux/sabotage/blob/master/pkg/libedit
- https://github.com/wikimedia/mediawiki-vagrant/blob/master/puppet/modules/misc/files/editrc
- https://man.openbsd.org/editline.7
- https://unix.stackexchange.com/questions/548708/editrc-changing-keybindings-in-etc-editrc