Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Whatta fsck is this?



Juhapekka Tolvanen wrote:

>> Look at this:
>> 
>> juhtolv@heresy:/home/juhtolv %  date '+%A, %d %B %Y'  
>> [1m 'Tuesday, 08 August 2000
>> juhtolv@heresy:/home/juhtolv % 
>> 
>> And then all characters after that are bolded!
>> 
>> Same thing under bash causes no problems:
>> 
>> [bash]10006|pts/6|juhtolv@heresy: /home/juhtolv
>> $ date '+%A, %d %B %Y'  
>> Tuesday, 08 August 2000
>> [bash]10007|pts/6|juhtolv@heresy: /home/juhtolv
>> $ 
>> 
>> What am I doing wrong?

>Do you have anything in $POSTEDIT or in the preexec shell function?


juhtolv@heresy : /home/juhtolv
% echo $POSTEDIT                                                  10001 | pts/5

juhtolv@heresy : /home/juhtolv
% wtf wtf                                                         10002 | pts/5
wtf: aliased to whence -savc
/usr/games/wtf
juhtolv@heresy : /home/juhtolv
% wtf preexec                                                     10003 | pts/5
preexec () {
        writeexectitle $*
        print -Pn "\e]0;${EXECTEXT}\a"
}
juhtolv@heresy : /home/juhtolv
% wtf writeexectitle                                              10004 | pts/5
writeexectitle () {
        export EXECTEXT="${ROOTTEXT}${ROOTTITLEADD}%n@%m:%d : $*"
}
juhtolv@heresy : /home/juhtolv
%                                                                 10005 | pts/5

All my shell shellconfigs are here:

http://www.jyu.fi/~juhtolv/configs/shellrc/

-- 
Juhapekka "naula" Tolvanen * * * U of Jyväskylä * * juhtolv@xxxxxxxxx
http://www.cc.jyu.fi/~juhtolv/index.html * "STRAIGHT BUT NOT NARROW!" 
---------------------------------------------------------------------
"so impressed with all you do. tried so hard to be like you. flew too
high and burnt the wing. lost my faith in everything" nine inch nails



Messages sorted by: Reverse Date, Date, Thread, Author