Wrap values in quotes

This commit is contained in:
Oystein Kristoffer Tveit 2021-08-18 18:37:03 +02:00
parent 1daf5074b5
commit 5f5ec8263a

View File

@ -1,5 +1,5 @@
export DROPBOX_DIR="$HOME/Dropbox" export DROPBOX_HOME="$HOME/Dropbox"
export PATH="$PATH:$HOME/.scripts" export PATH="$PATH:$HOME/.scripts:/opt/android-sdk/cmdline-tools/latest/bin"
export NNN_PLUG='f:finder;b:bookmarks;v:imgview' export NNN_PLUG='f:finder;b:bookmarks;v:imgview'
export BOOKMARKS_DIR="$HOME/.config/nnn/bookmarks" export BOOKMARKS_DIR="$HOME/.config/nnn/bookmarks"
@ -15,28 +15,33 @@ export XDG_CACHE_HOME="$HOME/.cache"
export XDG_DATA_HOME="$HOME/.local/share" export XDG_DATA_HOME="$HOME/.local/share"
export ZDOTDIR="$XDG_CONFIG_HOME/zsh" 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 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 TEXMFHOME="$XDG_DATA_HOME/texmf"
export TEXMFVAR=$XDG_CACHE_HOME/texlive/texmf-var export TEXMFVAR="$XDG_CACHE_HOME/texlive/texmf-var"
export WGETRC="$XDG_CONFIG_HOME/wgetrc" export WGETRC="$XDG_CONFIG_HOME/wgetrc"
export GNUPGHOME="$XDG_DATA_HOME/gnupg" export GNUPGHOME="$XDG_DATA_HOME/gnupg"
export KODI_DATA="$XDG_DATA_HOME/kodi" export KODI_DATA="$XDG_DATA_HOME/kodi"
export CABAL_CONFIG="$XDG_CONFIG_HOME"/cabal/config export CABAL_CONFIG="$XDG_CONFIG_HOME/cabal/config"
export CABAL_DIR="$XDG_CACHE_HOME"/cabal export CABAL_DIR="$XDG_CACHE_HOME/cabal"
export STACK_ROOT="$XDG_DATA_HOME"/stack export STACK_ROOT="$XDG_DATA_HOME/stack"
export CARGO_HOME="$XDG_DATA_HOME"/cargo export CARGO_HOME="$XDG_DATA_HOME/cargo"
export NUGET_PACKAGES="$XDG_CACHE_HOME"/NuGetPackages export NUGET_PACKAGES="$XDG_CACHE_HOME/NuGetPackages"
export AZURE_CONFIG_DIR=$XDG_DATA_HOME/azure export AZURE_CONFIG_DIR="$XDG_DATA_HOME/azure"
export TEXMFHOME=$XDG_DATA_HOME/texmf export TEXMFHOME="$XDG_DATA_HOME/texmf"
export TEXMFVAR=$XDG_CACHE_HOME/texlive/texmf-var export TEXMFVAR="$XDG_CACHE_HOME/texlive/texmf-var"
export TEXMFCONFIG=$XDG_CONFIG_HOME/texlive/texmf-config export TEXMFCONFIG="$XDG_CONFIG_HOME/texlive/texmf-config"
# export VSCODE_PORTABLE="$XDG_DATA_HOME"/vscode # export VSCODE_PORTABLE="$XDG_DATA_HOME"/vscode
# Might not work for all DMs. Does not work for LightDM # Might not work for all DMs. Does not work for LightDM
# export XAUTHORITY="$XDG_RUNTIME_DIR"/Xauthority # export XAUTHORITY="$XDG_RUNTIME_DIR"/Xauthority
USERXSESSION="$XDG_CACHE_HOME/X11/xsession" export USERXSESSION="$XDG_CACHE_HOME/X11/xsession"
USERXSESSIONRC="$XDG_CACHE_HOME/X11/xsessionrc" export USERXSESSIONRC="$XDG_CACHE_HOME/X11/xsessionrc"
ALTUSERXSESSION="$XDG_CACHE_HOME/X11/Xsession" export ALTUSERXSESSION="$XDG_CACHE_HOME/X11/Xsession"
ERRFILE="$XDG_CACHE_HOME/X11/xsession-errors" 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 wget='wget --hsts-file="$XDG_CACHE_HOME/wget-hsts"'
alias yarn='yarn --use-yarnrc "$XDG_CONFIG_HOME/yarn/config"' alias yarn='yarn --use-yarnrc "$XDG_CONFIG_HOME/yarn/config"'