notfound 671940 dash/0.5.5.1-7.4
tags 671940 - moreinfo
quit

Terho Uotila wrote:

> comes from (default) /etc/mkshrc
>
> PS1='^A^M$(precmd)${USER:=$(ulimit -c 0;id -un 2>&-||print 
> \?)}@${HOSTNAME%%.*}:$(
>         typeset d=${PWD:-?} n p=~; [[ $p = ?(*/) ]] || d=${d/#$p/~}
>         (( (${%d}>0 ? ${%d}: ${#d}) > (n = (COLUMNS/3<7 ? 7: COLUMNS/3)) )) 
> && {
>         d=${d:(-n)}; p=...; } || p=; print -nr -- "$p$d") '"$PS1 "
>
> (I wonder if ^A^M at the start is intentional.) I can honestly say that 
> I have no idea what this is supposed to do.

Perfect. :)

The only remaining mystery is why PS1 was exported.

Jonathan



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to