l zsh: fix weird multiline errors
This commit is contained in:
parent
3eafd0943b
commit
b1d3ce19c4
@ -122,14 +122,15 @@
|
|||||||
case $TERM in
|
case $TERM in
|
||||||
(*xterm* | *rxvt*)
|
(*xterm* | *rxvt*)
|
||||||
function precmd {
|
function precmd {
|
||||||
PROMPT_EVALED="$(print -P $TITLE)"
|
PROMPT_EVALED=$(print -P "$TITLE")
|
||||||
echo -ne "\033]0;$$ $PROMPT_EVALED\007"
|
echo -ne "\033]0;$$ $PROMPT_EVALED\007"
|
||||||
}
|
}
|
||||||
# This is seen while the shell waits for a command to complete.
|
# This seems broken for some reason
|
||||||
function preexec {
|
# # This is seen while the shell waits for a command to complete.
|
||||||
PROMPT_EVALED="$(print -P $TITLE)"
|
# function preexec {
|
||||||
echo -ne "\033]0;$$ $PROMPT_EVALED $1\007"
|
# PROMPT_EVALED=$(print -P "$TITLE")
|
||||||
}
|
# echo -ne "\033]0;$$ $PROMPT_EVALED $1\007"
|
||||||
|
# }
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user