mirror of
https://github.com/notwa/rc
synced 2024-05-02 19:53:23 -07:00
mark preload
as compatible with all 4 shells
This commit is contained in:
parent
108502a87e
commit
0f03547548
|
@ -1,5 +1,9 @@
|
||||||
#!/usr/bin/env false
|
#!/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.
|
preload() { ### @- handle dependencies within the [`~/sh/`](/sh) directory.
|
||||||
### this function contains more comments than code, so you should read it.
|
### this function contains more comments than code, so you should read it.
|
||||||
# all sourced files from within the preload function will instead
|
# all sourced files from within the preload function will instead
|
||||||
|
|
1
tableize
1
tableize
|
@ -45,6 +45,7 @@ tableize() {
|
||||||
YES_BASH) bash=yes;;
|
YES_BASH) bash=yes;;
|
||||||
YES_DASH) dash=yes;;
|
YES_DASH) dash=yes;;
|
||||||
YES_ASH) ash=yes;;
|
YES_ASH) ash=yes;;
|
||||||
|
FAKE_COMPAT) zsh=yes; bash=yes; dash=yes; ash=yes;;
|
||||||
NO_ZSH) zsh=no;;
|
NO_ZSH) zsh=no;;
|
||||||
NO_BASH) bash=no;;
|
NO_BASH) bash=no;;
|
||||||
NO_DASH) dash=no;;
|
NO_DASH) dash=no;;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user