bootstrap: lsd: fix: Set env variables before installation checks

This commit is contained in:
PorridgePi
2022-09-29 02:21:13 +01:00
parent 860092c100
commit d36d14ea98

View File

@@ -1,6 +1,8 @@
if ! command -v lsd &> /dev/null; then if ! command -v lsd &> /dev/null; then
echo 'Installing lsd' echo 'Installing lsd'
source $HOME/.zshenv
if [[ "$OSNAME" == "Linux" ]]; then if [[ "$OSNAME" == "Linux" ]]; then
# Linux # Linux
if [[ "$DISTRO_TYPE" == "debian" ]]; then if [[ "$DISTRO_TYPE" == "debian" ]]; then