mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
Use a variable name that is unlikely to conflict.
This commit is contained in:
parent
8fc6515da5
commit
558db66532
1 changed files with 2 additions and 2 deletions
|
|
@ -5,7 +5,7 @@
|
|||
function title {
|
||||
[ "$DISABLE_AUTO_TITLE" != "true" ] || return
|
||||
local e1="$1" e2="$2"
|
||||
if [[ "$NOESCAPE" != 1 ]]; then
|
||||
if [[ "$TITLE_NO_ESCAPE" != 1 ]]; then
|
||||
e1="$1:q"
|
||||
e2="$1:q"
|
||||
fi
|
||||
|
|
@ -33,5 +33,5 @@ function preexec {
|
|||
local psvar
|
||||
psvar[1]="$CMD"
|
||||
psvar[2]="$2"
|
||||
NOESCAPE=1 title "%1v" "%100>...>%2v%<<"
|
||||
TITLE_NO_ESCAPE=1 title "%1v" "%100>...>%2v%<<"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue