summaryrefslogtreecommitdiff
path: root/shellrc/files
diff options
context:
space:
mode:
authorKarel Kočí <karel.koci@nic.cz>2019-05-02 13:08:50 +0200
committerKarel Kočí <karel.koci@nic.cz>2019-05-02 13:08:50 +0200
commit7c1d2ea3615d7889d9ea0abdfa29f95222800bc2 (patch)
tree55a3ca50c3e2c5c6335ac5a86f6ac616c872d2d0 /shellrc/files
parentc4fb936ad961cfff7226f3fc5b844938927bfc55 (diff)
downloadopenwrt-personal-pkgs-7c1d2ea3615d7889d9ea0abdfa29f95222800bc2.tar.gz
openwrt-personal-pkgs-7c1d2ea3615d7889d9ea0abdfa29f95222800bc2.tar.bz2
openwrt-personal-pkgs-7c1d2ea3615d7889d9ea0abdfa29f95222800bc2.zip
shellrc: make prompt shorter
Diffstat (limited to 'shellrc/files')
-rw-r--r--shellrc/files/profile.prompt.sh2
1 files changed, 1 insertions, 1 deletions
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