From 455af768b9b84767a0599587218a0eaba7319b7f Mon Sep 17 00:00:00 2001 From: Connor Olding Date: Sat, 24 Feb 2024 09:00:39 -0800 Subject: [PATCH] don't inherit `FANCY` either --- home/shrc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/home/shrc b/home/shrc index ac01e5e..7a781c0 100644 --- a/home/shrc +++ b/home/shrc @@ -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