From c5ac8508d4c5839c80f27910269a26e5b671d9d6 Mon Sep 17 00:00:00 2001 From: Vitor Gonçalves Date: Mon, 22 Jan 2024 18:16:26 -0300 Subject: zshenv was broken actually i just discovered what 'export' does to the variable declaration, it makes it available to subprocesses --- .config/zsh/.zshenv | 31 ++++++++++++++----------------- 1 file changed, 14 insertions(+), 17 deletions(-) (limited to '.config') diff --git a/.config/zsh/.zshenv b/.config/zsh/.zshenv index f3c0681..0e8670b 100644 --- a/.config/zsh/.zshenv +++ b/.config/zsh/.zshenv @@ -1,17 +1,14 @@ -XDG_CONFIG_HOME="$HOME/.config" -XDG_CACHE_HOME="$HOME/.cache" -XDG_DATA_HOME="$HOME/.local/share" -XDG_STATE_HOME="$HOME/.local/state" - -PATH="$PATH:$HOME/.local/bin" -EDITOR="nvim" -VISUAL="nvim" -GNUPGHOME="$XDG_DATA_HOME/gnupg" -PASSWORD_STORE_DIR="$XDG_DATA_HOME/pass" -HISTFILE="$XDG_STATE_HOME/bash/history" -INPUTRC="$XDG_CONFIG_HOME/readline/inputrc" - -GPG_TTY=$(tty) -AUR_PAGER="nnn" - -ZPLUGINS="$ZDOTDIR/plugins" +export XDG_CONFIG_HOME="$HOME/.config" +export XDG_CACHE_HOME="$HOME/.cache" +export XDG_DATA_HOME="$HOME/.local/share" +export XDG_STATE_HOME="$HOME/.local/state" +export PATH="$PATH:$HOME/.local/bin" +export EDITOR="nvim" +export VISUAL="st -e nvim" +export GNUPGHOME="$XDG_DATA_HOME/gnupg" +export PASSWORD_STORE_DIR="$XDG_DATA_HOME/pass" +export HISTFILE="$XDG_STATE_HOME/bash/history" +export INPUTRC="$XDG_CONFIG_HOME/readline/inputrc" +export GPG_TTY="$(tty)" +export AUR_PAGER="nnn" +export ZPLUGINS="$ZDOTDIR/plugins" -- cgit 1.4.1-2-gfad0