summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-09-07 15:05:03 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-09-07 15:05:03 +0200
commit78d291d6d1eddf72bf42f97401bdbc48b28b257d (patch)
tree9a1320b499c85eea21e39300460e26b957e37115 /etc
parente51fd61b63bea2d4f1761e91665f86e1af8080c1 (diff)
Moved PS4 from prompt to env
This way, zsh -x is nicer to read
Diffstat (limited to 'etc')
-rw-r--r--etc/env1
-rw-r--r--etc/prompt2
2 files changed, 1 insertions, 2 deletions
diff --git a/etc/env b/etc/env
index 86b2411..5ac7b91 100644
--- a/etc/env
+++ b/etc/env
@@ -5,5 +5,6 @@
## see also: https://derf.homelinux.org/~derf/dotfiles/zsh/
ZDIR=$HOME/packages/zsh/etc
+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
diff --git a/etc/prompt b/etc/prompt
index 83ebd55..22c8a7b 100644
--- a/etc/prompt
+++ b/etc/prompt
@@ -4,5 +4,3 @@
# The \ek\e\\ is for screen's 'shelltitle'
PS1="${ps_yellow}%n@%m${ps_reset} %1~ %(!.${ps_red}#.${ps_green}>)${ps_reset} "$'%{\ek\e\\%}'
RPS1="${ps_yellow}[${ps_info}%1v${ps_yellow}%T]${ps_reset}"
-
-PS4="${ps_info}%N${ps_reset}:${ps_yellow}%i${ps_reset}│"