diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2010-04-02 11:32:38 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2010-04-02 11:32:38 +0200 |
commit | f0f3c02a3ccde07d3dc79577c7eca41ea3e8e86f (patch) | |
tree | d0aaab1de872a30a94555d2da3b501e13e18c217 /etc/.zshenv | |
parent | 81ac4a06bff278f07620804b7d4120342b1f6522 (diff) |
Replace $var by ${var}
Diffstat (limited to 'etc/.zshenv')
-rw-r--r-- | etc/.zshenv | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/etc/.zshenv b/etc/.zshenv index 45c601b..3ff22a6 100644 --- a/etc/.zshenv +++ b/etc/.zshenv @@ -1,15 +1,15 @@ ## vim:ft=zsh -: ${ZDIR:=$HOME/packages/zsh/etc} +: ${ZDIR:=${HOME}/packages/zsh/etc} PS4='%b%u%s%k%F{cyan}%N%F{default}:%F{yellow}%i%F{default}│' -fpath=($ZDIR/functions $ZDIR/completions $fpath) +fpath=(${ZDIR}/functions ${ZDIR}/completions ${fpath}) # Additional zshenv settings from caretaker -[[ -r $ZDIR/../provided/env ]] && source $ZDIR/../provided/env +[[ -r ${ZDIR}/../provided/env ]] && source ${ZDIR}/../provided/env export EDITOR==vim export MPD_HOST=mpd -export CALENDAR_DIR=$HOME/stuff +export CALENDAR_DIR=${HOME}/stuff export LESS='--silent --no-init --clear-screen --RAW-CONTROL-CHARS --quit-if-one-screen --ignore-case --tabs=5' # Required for various scripts @@ -17,10 +17,10 @@ export HOST export COLUMNS export LINES -if [[ -n $commands[lesspipe] ]] { +if [[ -n ${commands[lesspipe]} ]] { export LESSOPEN='| lesspipe %s' export LESSCLOSE='lesspipe %s %s' } # local settings, not tracked with git -[[ -r $ZDIR/local-env ]] && source $ZDIR/local-env +[[ -r ${ZDIR}/local-env ]] && source ${ZDIR}/local-env |