dotfiles/general/.env

48 lines
1.8 KiB
Bash

export DROPBOX_HOME="$HOME/Dropbox"
export PATH="$PATH:$HOME/.scripts:/opt/android-sdk/cmdline-tools/latest/bin"
export NNN_PLUG='f:finder;b:bookmarks;v:imgview'
export BOOKMARKS_DIR="$HOME/.config/nnn/bookmarks"
export EDITOR="nvim"
export TERMINAL="alacritty"
export BROWSER="google-chrome-stable"
# XDG Settings
export XDG_CONFIG_HOME="$HOME/.config"
export XDG_CACHE_HOME="$HOME/.cache"
export XDG_DATA_HOME="$HOME/.local/share"
export ZDOTDIR="$XDG_CONFIG_HOME/zsh"
export HISTFILE="$ZDOTDIR/.zsh_history"
# export VIMINIT='let $MYVIMRC = !has("nvim") ? "$XDG_CONFIG_HOME/vim/vimrc" : "$XDG_CONFIG_HOME/nvim/init.lua" | so $MYVIMRC'
export TEXMFHOME="$XDG_DATA_HOME/texmf"
export TEXMFVAR="$XDG_CACHE_HOME/texlive/texmf-var"
export WGETRC="$XDG_CONFIG_HOME/wgetrc"
export GNUPGHOME="$XDG_DATA_HOME/gnupg"
export KODI_DATA="$XDG_DATA_HOME/kodi"
export CABAL_CONFIG="$XDG_CONFIG_HOME/cabal/config"
export CABAL_DIR="$XDG_CACHE_HOME/cabal"
export STACK_ROOT="$XDG_DATA_HOME/stack"
export CARGO_HOME="$XDG_DATA_HOME/cargo"
export NUGET_PACKAGES="$XDG_CACHE_HOME/NuGetPackages"
export AZURE_CONFIG_DIR="$XDG_DATA_HOME/azure"
export TEXMFHOME="$XDG_DATA_HOME/texmf"
export TEXMFVAR="$XDG_CACHE_HOME/texlive/texmf-var"
export TEXMFCONFIG="$XDG_CONFIG_HOME/texlive/texmf-config"
# export VSCODE_PORTABLE="$XDG_DATA_HOME"/vscode
# Might not work for all DMs. Does not work for LightDM
# export XAUTHORITY="$XDG_RUNTIME_DIR"/Xauthority
export USERXSESSION="$XDG_CACHE_HOME/X11/xsession"
export USERXSESSIONRC="$XDG_CACHE_HOME/X11/xsessionrc"
export ALTUSERXSESSION="$XDG_CACHE_HOME/X11/Xsession"
export ERRFILE="$XDG_CACHE_HOME/X11/xsession-errors"
# For flutter
export CHROME_EXECUTABLE="$(which google-chrome-stable)"
alias wget='wget --hsts-file="$XDG_CACHE_HOME/wget-hsts"'
alias yarn='yarn --use-yarnrc "$XDG_CONFIG_HOME/yarn/config"'