1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-05-05 12:53:23 -07:00

rewrite compatibility comments

This commit is contained in:
Connor Olding 2024-02-24 09:02:36 -08:00
parent 455af768b9
commit e9f1cfc121
3 changed files with 3 additions and 4 deletions

View File

@ -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.

View File

@ -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

View File

@ -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}"