mirror of
https://github.com/notwa/rc
synced 2024-05-05 12:53:23 -07:00
rewrite compatibility comments
This commit is contained in:
parent
455af768b9
commit
e9f1cfc121
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user