diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2014-08-04 23:30:48 +0200 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2014-08-04 23:30:48 +0200 |
commit | d4977fa1165856e214687d6eee6b8b64a0b55686 (patch) | |
tree | 9627adff93796c3936a9cc588a01d09936602c11 /zsh | |
parent | 8b92cc10ab7c6739a153917e8b20524985f9bdfd (diff) | |
download | dotfiles-d4977fa1165856e214687d6eee6b8b64a0b55686.tar.xz |
zprofile: Only quote variable expansions
Diffstat (limited to 'zsh')
-rw-r--r-- | zsh/.zprofile | 27 |
1 files changed, 14 insertions, 13 deletions
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 |