mirror of
https://github.com/notwa/rc
synced 2025-03-14 06:02:50 -07:00
don't inherit FANCY
either
This commit is contained in:
parent
36e4563c75
commit
455af768b9
1 changed files with 2 additions and 4 deletions
|
@ -1,10 +1,8 @@
|
||||||
#!/usr/bin/env false
|
#!/usr/bin/env false
|
||||||
# for ash, dash, bash, and zsh.
|
# for ash, dash, bash, and zsh.
|
||||||
|
|
||||||
_=: && [ -z $_ ] && FANCY=1 || FANCY=0 # detect zsh and bash
|
unset FANCY; _=: && [ -z $_ ] && FANCY=1 || FANCY=0 # detect zsh and bash
|
||||||
if [ "$FANCY" = 0 ]; then
|
if [ "$FANCY" = 0 ]; then . ~/.prep; fi # handle stuff like /etc/profile and $PATH
|
||||||
. ~/.prep # handle boring stuff like /etc/profile and $PATH
|
|
||||||
fi
|
|
||||||
|
|
||||||
# {{{1 utilities
|
# {{{1 utilities
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue