From 7c1d2ea3615d7889d9ea0abdfa29f95222800bc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 2 May 2019 13:08:50 +0200 Subject: shellrc: make prompt shorter --- shellrc/files/profile.prompt.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shellrc/files') diff --git a/shellrc/files/profile.prompt.sh b/shellrc/files/profile.prompt.sh index 122a35b..7a857da 100644 --- a/shellrc/files/profile.prompt.sh +++ b/shellrc/files/profile.prompt.sh @@ -2,7 +2,7 @@ case "$TERM" in xterm*|rxvt*) export PS1='$(EC=$? -[ $EC = 0 ] || echo -n "\e[1;33m($EC) " +[ $EC = 0 ] || echo -n "\e[1;33m$EC:" if [ `id -u` -eq "0" ]; then echo -n "\[\e[1;31m\]\u@\h:\[\e[1;34m\]\W\[\e[1;31m\]\$\[\e[0m\] " else -- cgit v1.2.3