Export ZOOTDIR from /etc/zsh/zshenv

This commit is contained in:
ItsDrike 2023-08-02 02:29:54 +02:00
parent c4053d8496
commit fc45c3eb7a
Signed by: ItsDrike
GPG key ID: FA2745890B7048C0
4 changed files with 6 additions and 3 deletions

View file

@ -1 +0,0 @@
.config/zsh/.zshenv

View file

@ -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

View file

@ -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

1
root/etc/zsh/zshenv Normal file
View file

@ -0,0 +1 @@
export ZDOTDIR="$HOME"/.config/zsh