From 78d291d6d1eddf72bf42f97401bdbc48b28b257d Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 7 Sep 2008 15:05:03 +0200 Subject: Moved PS4 from prompt to env This way, zsh -x is nicer to read --- etc/env | 1 + etc/prompt | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'etc') 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}│" -- cgit v1.2.3