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/.zprofile | |
parent | 81ac4a06bff278f07620804b7d4120342b1f6522 (diff) |
Replace $var by ${var}
Diffstat (limited to 'etc/.zprofile')
-rw-r--r-- | etc/.zprofile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/.zprofile b/etc/.zprofile index ffdd0f1..cadc848 100644 --- a/etc/.zprofile +++ b/etc/.zprofile @@ -1,6 +1,6 @@ ## vim:ft=zsh function pr_info { - print -P "%F{cyan}>>%F{default} $*" + print -P "%F{cyan}>>%F{default} ${*}" } echo @@ -14,7 +14,7 @@ pr_info "This is %F{cyan}$(uname -srm)%F{default} on %F{cyan}%y%F{default}" echo [[ -n $(echo Maildir/new/*(N)) ]] && pr_info "You have mail!" -[[ -r $ZDIR/local-profile ]] && source $ZDIR/local-profile -[[ -r $ZDIR/hosts/profile-$HOST ]] && source $ZDIR/hosts/profile-$HOST +[[ -r ${ZDIR}/local-profile ]] && source ${ZDIR}/local-profile +[[ -r ${ZDIR}/hosts/profile-${HOST} ]] && source ${ZDIR}/hosts/profile-${HOST} unfunction pr_info |