about summary refs log tree commit diff stats
path: root/.config
diff options
context:
space:
mode:
authorVitor Gonçalves <vitorg@tilde.team>2024-01-22 18:16:26 -0300
committerVitor Gonçalves <vitorg@tilde.team>2024-01-22 18:16:26 -0300
commitc5ac8508d4c5839c80f27910269a26e5b671d9d6 (patch)
tree482ae210ee873bec0cf322bc415607c0b9299495 /.config
parent8996dba454bb229238ab27c470fbd45465b64668 (diff)
downloaddots-c5ac8508d4c5839c80f27910269a26e5b671d9d6.tar.gz
zshenv was broken
actually i just discovered what 'export' does to the variable declaration, it makes it available to subprocesses
Diffstat (limited to '.config')
-rw-r--r--.config/zsh/.zshenv31
1 files changed, 14 insertions, 17 deletions
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"