mirror of
https://github.com/notwa/rc
synced 2025-02-04 23:33:23 -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
|
||||
# for ash, dash, bash, and zsh.
|
||||
# for busybox ash, dash, bash, and zsh.
|
||||
|
||||
if [ -r /etc/msystem ]; then
|
||||
# avoid sourcing /etc/profile because forking cygwin processes is awful.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/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
|
||||
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
|
||||
# this script is compatible with following shells:
|
||||
# ash, dash, bash, zsh
|
||||
# for busybox ash, dash, bash, and zsh.
|
||||
|
||||
VERBOSE="${VERBOSE-1}"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue