diff --git a/home/.zshenv b/home/.zshenv deleted file mode 120000 index 9fbf4d2..0000000 --- a/home/.zshenv +++ /dev/null @@ -1 +0,0 @@ -.config/zsh/.zshenv \ No newline at end of file diff --git a/install_root.sh b/install_root.sh index 7782734..328e0b8 100755 --- a/install_root.sh +++ b/install_root.sh @@ -42,7 +42,8 @@ cp root/.rsync-filter / sudo pacman -Sy # Copy ZSH shell configuration -cp -a home/.zshenv ~ +mkdir -p /etc/zsh +cp -ra root/etc/zsh /etc/zsh mkdir -p ~/.config cp -ra home/.config/shell ~/.config cp -ra home/.config/zsh ~/.config diff --git a/install_user.sh b/install_user.sh index 2b58918..b78be5a 100755 --- a/install_user.sh +++ b/install_user.sh @@ -41,7 +41,9 @@ yay -S --noconfirm --needed \ downgrade lf xdg-ninja-git # Copy over zsh configuration -cp -a home/.zshenv ~ +# Note that this assumes you've ran install_root.sh, whcih created /etc/zsh/zshenv +# with $ZOOTDIR exported. If you haven't done that, you'll want to symlink the +# ~/.config/zsh/.zshenv to your home directory. mkdir -p ~/.config cp -ra home/.config/shell ~/.config cp -ra home/.config/zsh ~/.config diff --git a/root/etc/zsh/zshenv b/root/etc/zsh/zshenv new file mode 100644 index 0000000..d7db1dc --- /dev/null +++ b/root/etc/zsh/zshenv @@ -0,0 +1 @@ +export ZDOTDIR="$HOME"/.config/zsh