From 1ba17411c2b6697a2bd101bc92ba2bfaaf646161 Mon Sep 17 00:00:00 2001 From: saibotk Date: Sun, 17 Apr 2022 21:14:14 +0200 Subject: [PATCH] Fix dotfiles path definition --- config.env | 2 -- install-mac.sh | 2 +- install.sh | 4 ++-- zsh/.zshrc | 4 ++-- zsh/config.env | 1 - 5 files changed, 5 insertions(+), 8 deletions(-) delete mode 100644 config.env delete mode 120000 zsh/config.env diff --git a/config.env b/config.env deleted file mode 100644 index ac9201e..0000000 --- a/config.env +++ /dev/null @@ -1,2 +0,0 @@ -# Path to your dotfiles. -export DOTFILES=$HOME/.dotfiles \ No newline at end of file diff --git a/install-mac.sh b/install-mac.sh index 5200eee..740f31f 100755 --- a/install-mac.sh +++ b/install-mac.sh @@ -1,7 +1,7 @@ #!/bin/sh # Load common config environment variables -source ./config.env +source config.env # Paths to openssl to build pecl extensions (swoole) export PATH="/opt/homebrew/opt/openssl@3/bin:$PATH" diff --git a/install.sh b/install.sh index dbed5e1..b9b3d60 100755 --- a/install.sh +++ b/install.sh @@ -1,7 +1,7 @@ #!/bin/sh -# Load common config environment variables -source ./config.env +# Path to your dotfiles. +export DOTFILES=$HOME/.dotfiles echo "Setting up your system..." echo "Your dotfiles path: $DOTFILES" diff --git a/zsh/.zshrc b/zsh/.zshrc index 8369bfb..62a0b9a 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -1,5 +1,5 @@ -# Load common config environment variables -source config.env +# Path to your dotfiles. +export DOTFILES=$HOME/.dotfiles # Load extra files source $DOTFILES/zsh/aliases.zsh diff --git a/zsh/config.env b/zsh/config.env deleted file mode 120000 index b0ba453..0000000 --- a/zsh/config.env +++ /dev/null @@ -1 +0,0 @@ -../config.env \ No newline at end of file