summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-09-22 17:25:48 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-09-22 17:25:48 +0200
commitd365ff4c68653d7dcdddbbe5550459f3f40ab431 (patch)
tree7ccd67157b5b108650a24d12610cd12ea07637d1 /etc
parentb163bfe049a3ce12c9a183d669aabd1aa6de0e06 (diff)
etc/env: CHeck for enabled unicode
Diffstat (limited to 'etc')
-rw-r--r--etc/env1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/env b/etc/env
index 5ac7b91..9e4f4ef 100644
--- a/etc/env
+++ b/etc/env
@@ -5,6 +5,7 @@
## see also: https://derf.homelinux.org/~derf/dotfiles/zsh/
ZDIR=$HOME/packages/zsh/etc
+(( ${unicode-1} == 0 )) ||
PS4='%{'$'\e[0;36m''%}%N%{'$'\e[0m''%}:%{'$'\e[0;33m''%}%i%{'$'\e[0m''%}│'
fpath=($ZDIR/functions $ZDIR/completions $fpath)
[[ -r $ZDIR/../provided/env ]] && source $ZDIR/../provided/env