From a8e29a0ce7fedee1f7172c302b411d9577c3e09a Mon Sep 17 00:00:00 2001 From: Belal Elsabbagh Date: Sun, 8 Feb 2026 19:06:21 +0200 Subject: [PATCH] refactor(zshrc): zprofil migration --- .zprofile | 8 ++++++++ .zshrc | 3 --- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.zprofile b/.zprofile index 8b13789..8c3c0d7 100644 --- a/.zprofile +++ b/.zprofile @@ -1 +1,9 @@ +# Define environment variables +export EDITOR="nvim" +export LANG="en_US.UTF-8" +# Set Zinit home directory early +export ZINIT_HOME="${XDG_DATA_HOME:-${HOME}/.local/share}/zinit/zinit.git" + +# Path helper or custom PATH additions should go here +# export PATH="$PATH:/your/custom/bin" diff --git a/.zshrc b/.zshrc index 7cefb93..1c0055b 100644 --- a/.zshrc +++ b/.zshrc @@ -1,5 +1,4 @@ # Set the directory we want to store zinit and plugins -ZINIT_HOME="${XDG_DATA_HOME:-${HOME}/.local/share}/zinit/zinit.git" [ ! -d $ZINIT_HOME ] && mkdir -p "$(dirname $ZINIT_HOME)" [ ! -d $ZINIT_HOME/.git ] && git clone https://github.com/zdharma-continuum/zinit.git "$ZINIT_HOME" source "${ZINIT_HOME}/zinit.zsh" @@ -55,5 +54,3 @@ alias c='clear' # Shell integrations eval "$(fzf --zsh)" eval "$(zoxide init --cmd cd zsh)" - -export EDITOR=nvim