From d4977fa1165856e214687d6eee6b8b64a0b55686 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Mon, 4 Aug 2014 23:30:48 +0200 Subject: zprofile: Only quote variable expansions --- zsh/.zprofile | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) (limited to 'zsh') diff --git a/zsh/.zprofile b/zsh/.zprofile index d224f58..c28f155 100644 --- a/zsh/.zprofile +++ b/zsh/.zprofile @@ -1,28 +1,29 @@ -export PATH="$HOME/.local/bin":"$PATH" +export PATH="$HOME"/.local/bin:"$PATH" -export XDG_CACHE_HOME="$HOME/.cache" -export XDG_CONFIG_HOME="$HOME/.config" -export XDG_DATA_HOME="$HOME/.local/share" +export XDG_CACHE_HOME="$HOME"/.cache +export XDG_CONFIG_HOME="$HOME"/.config +export XDG_DATA_HOME="$HOME"/.local/share -export MPV_HOME="$XDG_CONFIG_HOME/mpv" -export GNUPGHOME="$XDG_CONFIG_HOME/gnupg" -export GTK2_RC_FILES="$XDG_CONFIG_HOME/gtk-2.0/gtkrc-2.0" -export XCOMPOSEFILE="$XDG_CONFIG_HOME/X11/XCompose" +export MPV_HOME="$XDG_CONFIG_HOME"/mpv +export GNUPGHOME="$XDG_CONFIG_HOME"/gnupg +export GTK2_RC_FILES="$XDG_CONFIG_HOME"/gtk-2.0/gtkrc-2.0 +export XCOMPOSEFILE="$XDG_CONFIG_HOME"/X11/XCompose +export XAUTHORITY="$XDG_RUNTIME_DIR"/X11/authority -export ABSROOT="$HOME/build/abs" +export ABSROOT="$HOME"/build/abs export EDITOR=vim +export VISUAL=vim # Set vimrc's location and source it on vim startup export VIMINIT='let $MYVIMRC="$XDG_CONFIG_HOME/vim/vimrc" | source $MYVIMRC' export PAGER=less -export LESSHISTFILE=- - +export LESS=-R +export LESSHISTFILE="$XDG_CACHE_HOME"/lesshist export LESSOPEN="|lesspipe.sh %s" export LESSCOLORIZER=pygmentize export GREP_OPTIONS=--color=auto -export LESS=-R export BROWSER=firefox export TERMINAL=termite @@ -37,5 +38,5 @@ export SUDO_PROMPT=$'\e[31mSUDO\e[m password for \e[34m%p\e[m: ' eval "$(dircolors -b ~/.config/dircolors)" if [[ -z $DISPLAY && $XDG_VTNR -eq 1 ]]; then - exec startx "$HOME/.config/X11/xinitrc" + exec startx "$XDG_CONFIG_HOME"/X11/xinitrc fi -- cgit v1.2.3-70-g09d2