dotfiles

configuration files
git clone https://pi.duncano.de/git/dotfiles.git
Log | Files | Refs | README

commit 7538519d35f698daff3662b97d4f4961beb2c437
parent 6e8400a968a98d896764257eee211b1063bc3300
Author: Duncaen <mail@duncano.de>
Date:   Mon, 10 Oct 2016 16:08:49 +0200

mksh: fix hostname in prompt

Diffstat:
mkshrc.d/90-prompt.sh | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mkshrc.d/90-prompt.sh b/mkshrc.d/90-prompt.sh @@ -1 +1 @@ -PS1='$(d=${PWD/$HOME/\~};print ${d##*/})$(((r=$?))&&$([ -n "$SSH_CONNECTION" ] && print "@${HOSTNAME:=$(hostname)}"||true)&&print "?\e[0;31;40m$r\e[0m")$(((USER_ID))&&print \$||print \#) ' +PS1='$(d=${PWD/$HOME/\~};print ${d##*/})$([ "$SSH_CONNECTION" ]&&print "@${HOSTNAME:=$(hostname)}")$(((r=$?))&&print "?\e[0;31;40m$r\e[0m")$(((USER_ID))&&print \$||print \#) '