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

don't inherit FANCY either

This commit is contained in:
Connor Olding 2024-02-24 09:00:39 -08:00
parent 36e4563c75
commit 455af768b9

View File

@ -1,10 +1,8 @@
#!/usr/bin/env false
# for ash, dash, bash, and zsh.
_=: && [ -z $_ ] && FANCY=1 || FANCY=0 # detect zsh and bash
if [ "$FANCY" = 0 ]; then
. ~/.prep # handle boring stuff like /etc/profile and $PATH
fi
unset FANCY; _=: && [ -z $_ ] && FANCY=1 || FANCY=0 # detect zsh and bash
if [ "$FANCY" = 0 ]; then . ~/.prep; fi # handle stuff like /etc/profile and $PATH
# {{{1 utilities