mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-27 03:05:39 +01:00
Add the environment variable DISABLE_CMD_AUTO_TITLE for those that only want to see pwd in their titles.
This commit is contained in:
parent
7f07facf41
commit
0fbf90b242
2 changed files with 7 additions and 1 deletions
|
|
@ -24,6 +24,9 @@ function omz_termsupport_precmd {
|
|||
|
||||
#Appears at the beginning of (and during) of command execution
|
||||
function omz_termsupport_preexec {
|
||||
if [[ "$DISABLE_CMD_AUTO_TITLE" == "true" ]]; then
|
||||
return
|
||||
fi
|
||||
emulate -L zsh
|
||||
setopt extended_glob
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue