mark `preload` as compatible with all 4 shells

This commit is contained in:
Connor Olding 2021-10-14 14:30:39 -07:00
parent 108502a87e
commit 0f03547548
2 changed files with 5 additions and 0 deletions

View File

@ -1,5 +1,9 @@
#!/usr/bin/env false
# i don't want this to be automatically amalgamated,
# but it *is* compatible with the usual 4 shells, so:
# FAKE_COMPAT
preload() { ### @- handle dependencies within the [`~/sh/`](/sh) directory.
### this function contains more comments than code, so you should read it.
# all sourced files from within the preload function will instead

View File

@ -45,6 +45,7 @@ tableize() {
YES_BASH) bash=yes;;
YES_DASH) dash=yes;;
YES_ASH) ash=yes;;
FAKE_COMPAT) zsh=yes; bash=yes; dash=yes; ash=yes;;
NO_ZSH) zsh=no;;
NO_BASH) bash=no;;
NO_DASH) dash=no;;