Using guix home now
This commit is contained in:
15
guix/home/files/zsh/zprofile
Normal file
15
guix/home/files/zsh/zprofile
Normal file
@@ -0,0 +1,15 @@
|
||||
# Each new shell auto-imports all environment variables.
|
||||
# Hence exporting needs to be done only once.
|
||||
# Also, all non-login shells are descendants of a login shell.
|
||||
# Ergo, exports need to be done in the login shell only.
|
||||
# Hence, we put exports in .zprofile
|
||||
|
||||
# Only vars needed by external commands should be exported.
|
||||
# Note that you can export vars w/out assigning a value to them.
|
||||
export XDG_CONFIG_HOME=~/.config
|
||||
export XDG_CACHE_HOME=~/.cache
|
||||
export XDG_DATA_HOME=~/.local/share
|
||||
export XDG_STATE_HOME=~/.config/zsh
|
||||
export EDITOR=nvim
|
||||
export VISUAL=nvim
|
||||
GUIX_PROFILE="$HOME/.config/guix/current" . "$GUIX_PROFILE/etc/profile"
|
||||
Reference in New Issue
Block a user