diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2022-09-17 00:17:42 +0100 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2022-09-17 00:17:42 +0100 |
commit | 9bfcec24005e1e6c792e487c70a8d2f091953cd8 (patch) | |
tree | f8a06070c9acc639280b087062f208cae99bb936 /Shell | |
parent | 052f7d0a9e902220974b91085431825a91b89c3f (diff) | |
download | dotfiles-9bfcec24005e1e6c792e487c70a8d2f091953cd8.tar.gz dotfiles-9bfcec24005e1e6c792e487c70a8d2f091953cd8.tar.bz2 dotfiles-9bfcec24005e1e6c792e487c70a8d2f091953cd8.zip |
(Shell)~rearranged .zprofile, moved some exports .zshrc->.zprofile
This is so Emacs (via systemd) gets the most up to date information
possible.
Diffstat (limited to 'Shell')
-rw-r--r-- | Shell/.zprofile | 17 | ||||
-rw-r--r-- | Shell/.zshrc | 2 |
2 files changed, 9 insertions, 10 deletions
diff --git a/Shell/.zprofile b/Shell/.zprofile index 76f69cf..f3696c3 100644 --- a/Shell/.zprofile +++ b/Shell/.zprofile @@ -1,5 +1,11 @@ # .zprofile -*- mode: sh; lexical-binding: t; -*- +# XDG variables +export XDG_CONFIG_HOME="$HOME/.config" +export XDG_DATA_HOME="$HOME/.local/share" +export XDG_CACHE_HOME="$HOME/.cache" +export XDG_RUNTIME_DIR=/run/user/`id -u` + # Standard Variables export EDITOR='emacsclient -a "emacs" -c' export EA_EDITOR=$EDITOR @@ -7,17 +13,12 @@ export TERMINAL="alacritty" export BROWSER="chromium" export WEBKIT_FORCE_SANDBOX=0 export PF_INFO="ascii title os memory uptime editor wm shell" -export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:$HOME/.local/bin/:$HOME/.emacs.d/bin:$(find ~/.local/scripts/ -type d | tr '\n' ':')$HOME/.cargo/bin:$HOME/.sdkman/bin" +export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:$HOME/.local/bin/:$(find ~/.local/scripts/ -type d | tr '\n' ':')$HOME/.cargo/bin:$HOME/.sdkman/bin" export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true export DOTNET_CLI_TELEMTRY_OPTOUT=1 export force_color_prompt=yes -export guile=guile2.2 - -# XDG variables -export XDG_CONFIG_HOME="$HOME/.config" -export XDG_DATA_HOME="$HOME/.local/share" -export XDG_CACHE_HOME="$HOME/.cache" -export XDG_RUNTIME_DIR=/run/user/`id -u` +export DOTNET_ROOT=~/.local/src/dotnet +export SSH_AUTH_SOCK="${XDG_RUNTIME_DIR}/ssh-agent.socket" # Import path to systemd systemctl --user import-environment PATH diff --git a/Shell/.zshrc b/Shell/.zshrc index e31467c..4b063db 100644 --- a/Shell/.zshrc +++ b/Shell/.zshrc @@ -1,7 +1,5 @@ # zshrc -*- mode: sh; lexical-binding: t; -*- -export DOTNET_ROOT=~/.local/src/dotnet -export SSH_AUTH_SOCK="${XDG_RUNTIME_DIR}/ssh-agent.socket" ## Variables TERM=xterm-256color ## Aliases |