mirror of
https://github.com/notwa/rc
synced 2025-02-05 07:43:22 -08:00
rewrite compatibility comments
This commit is contained in:
parent
455af768b9
commit
e9f1cfc121
3 changed files with 3 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
||||||
#!/usr/bin/env false
|
#!/usr/bin/env false
|
||||||
# for ash, dash, bash, and zsh.
|
# for busybox ash, dash, bash, and zsh.
|
||||||
|
|
||||||
if [ -r /etc/msystem ]; then
|
if [ -r /etc/msystem ]; then
|
||||||
# avoid sourcing /etc/profile because forking cygwin processes is awful.
|
# avoid sourcing /etc/profile because forking cygwin processes is awful.
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#!/usr/bin/env false
|
#!/usr/bin/env false
|
||||||
# for ash, dash, bash, and zsh.
|
# for busybox ash, dash, bash, and zsh.
|
||||||
|
|
||||||
unset FANCY; _=: && [ -z $_ ] && FANCY=1 || FANCY=0 # detect zsh and bash
|
unset FANCY; _=: && [ -z $_ ] && FANCY=1 || FANCY=0 # detect zsh and bash
|
||||||
if [ "$FANCY" = 0 ]; then . ~/.prep; fi # handle stuff like /etc/profile and $PATH
|
if [ "$FANCY" = 0 ]; then . ~/.prep; fi # handle stuff like /etc/profile and $PATH
|
||||||
|
|
3
install
3
install
|
@ -1,6 +1,5 @@
|
||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
# this script is compatible with following shells:
|
# for busybox ash, dash, bash, and zsh.
|
||||||
# ash, dash, bash, zsh
|
|
||||||
|
|
||||||
VERBOSE="${VERBOSE-1}"
|
VERBOSE="${VERBOSE-1}"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue