From 867e363cef188b1ba5a54b6ef89da6a1a2454f03 Mon Sep 17 00:00:00 2001 From: Santiago Lo Coco Date: Thu, 6 Oct 2022 07:53:53 -0300 Subject: [PATCH] Update .zprofile --- dotfiles/.zprofile | 52 +++++++++++++++++++++++++++++++++++++++------- 1 file changed, 45 insertions(+), 7 deletions(-) diff --git a/dotfiles/.zprofile b/dotfiles/.zprofile index 13a2daf..60735df 100644 --- a/dotfiles/.zprofile +++ b/dotfiles/.zprofile @@ -1,12 +1,50 @@ -source $HOME/.zshrc_exports +# Runs only once https://unix.stackexchange.com/questions/71253/what-should-shouldnt-go-in-zshenv-zshrc-zlogin-zprofile-zlogout -if ! echo $PATH | grep -q "$HOME/.local/bin"; then - export PATH=$PATH:$HOME/.local/bin -fi +export TERM=st-256color +export TERMINAL=st +export GOPATH="$HOME"/.config/go +export CM_SELECTIONS="clipboard" +export CM_DEBUG=1 +export CM_OUTPUT_CLIP=0 +export CM_MAX_CLIPS=10 +export CM_IGNORE_WINDOW="Bitwarden|KeePass" +export _JAVA_AWT_WM_NONREPARENTING=1 +export PAGER='nvimpager -p' +#export PAGER='vimpager' +export R_HOME_USER="$HOME"/.config/R +export R_PROFILE_USER="$HOME"/.config/R/.Rprofile +export R_LIBS_USER="$HOME"/.config/R/library +export R_HISTFILE="$HOME"/.config/R/.Rhistory +export QT_QPA_PLATFORMTHEME=gtk2 +# Process terminated. Couldn't find a valid ICU package installed on the system in NET +# Workaround live share vs code +export DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1 +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 CARGO_HOME="$XDG_DATA_HOME"/cargo +export CUDA_CACHE_PATH="$XDG_CACHE_HOME"/nv +#export GNUPGHOME="$XDG_DATA_HOME"/gnupg +export GRADLE_USER_HOME="$XDG_DATA_HOME"/gradle +export GTK2_RC_FILES="$XDG_CONFIG_HOME"/gtk-2.0/gtkrc +export XCURSOR_PATH=/usr/share/icons:${XDG_DATA_HOME}/icons +export LESSHISTFILE="$XDG_CACHE_HOME"/less/history +export TERMINFO="$XDG_DATA_HOME"/terminfo +export TERMINFO_DIRS="$XDG_DATA_HOME"/terminfo:/usr/share/terminfo +export NPM_CONFIG_USERCONFIG="$XDG_CONFIG_HOME"/npm/npmrc +export NVM_DIR="$XDG_DATA_HOME"/nvm +export PASSWORD_STORE_DIR="$XDG_DATA_HOME"/pass +export PSQL_HISTORY="$XDG_DATA_HOME/psql_history" +export ZSH="$XDG_DATA_HOME"/oh-my-zsh +export ZDOTDIR="$HOME"/.config/zsh +export BUNDLE_USER_CONFIG="$XDG_CONFIG_HOME"/bundle +export BUNDLE_USER_CACHE="$XDG_CACHE_HOME"/bundle +export BUNDLE_USER_PLUGIN="$XDG_DATA_HOME"/bundle +export NUGET_PACKAGES="$XDG_CACHE_HOME"/NuGetPackages -if ! echo $PATH | grep -q "$HOME/.local/share/gem/ruby/3.0.0/bin"; then - export PATH=$PATH:$HOME/.local/share/gem/ruby/3.0.0/bin -fi +export PATH="$HOME/.local/bin:$PATH:$HOME/.local/share/gem/ruby/3.0.0/bin" +export PATH="$PATH:$HOME/.local/share/JetBrains/Toolbox/scripts" if grep -q "i5" /proc/cpuinfo; then export LAPTOP=""