You are not logged in.
I use zsh in urxvt as my vt, and after 3 days, I've all but given up on how to set the window title properly. I have some lines in my .zshrc that _should_ do it, but don't.
######################################################################
# Decide whether to set title for the screen or window ###############
######################################################################
if [[ "$STY" != "" ]]; then
local STITLE='%{ kzsh %}'
else
local STITLE=''
fi
case $TERM in
xterm*)
PR_TITLEBAR=$'%{e]0;%(!.-=*[ROOT]*=- | .)%n@%m:%~ | ${COLUMNS}x${LINES} | %ya%}'
;;
*)
PR_TITLEBAR=''
;;
esac
My TERM is set to xterm-xfree86, and I've tried xterm-color and xterm as well.
Also, does anyone have zstyle completion line for pacman? It's the only program I use that zsh doesn't auto complete.
Thanks.
·¬»· i am shadowhand, powered by webfaction
Offline
Found it.
Setting window title dynamically in .zshrc:
case $TERM in
xterm*)
precmd () {print -Pn "e]0;%n@%m: %~a"}
;;
esac
·¬»· i am shadowhand, powered by webfaction
Offline
I was gonna say "try man 7 urxvt"... i think urxvt uses a different command than xterm and it's ilk
Offline
I found some zsh pacman completion in the mailing list. It's not perfect, but it's not bad either. It includes abs, convertdb, gensync, makepkg, makeworld, pacman, and updatesync completions.
i don't remember who wrote it, so i can't give credit...
hmm, well i found it on the gmane archives
here's a link
maybe we should put this on AUR and user-contributions or something.
Offline
Your prompt is huge!
Another Phil!'er ;-)
Hello girls, I like rock climbing, mountain biking and rafting! Write me!
Offline
Thanks paranoos, that worked great.
·¬»· i am shadowhand, powered by webfaction
Offline