1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-11-05 08:19:03 -08: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