macOS (16", 2023) w/ Ventura 13.6.9; using native Terminal.app
There are two (2) issues; perhaps related (?):
zsh
cmd line: echo -en "\033]0; New Name \007"
yields nothing (no change)Inspector
applet (p/o Terminal
), the 'tab' & 'title' immediately revert to whatever they were previously as soon as a command is entered at the command line.It has been suggested that pure
may be the cause of this behavior. I don't know enough about pure
to even have an opinion, but my first thought was, "Huh?!... what does my prompt have to do with tab & title?"
But whatever the cause, I must be able to set my tabs and title independently of the prompt. I have too many tabs open at all times to remember which tab I was using for a certain task.
prompt_pure_system_report
):~/Library
==> prompt_pure_system_report
- Zsh: zsh 5.9 (x86_64-apple-darwin22.0) (/bin/zsh)
- Operating system: macOS 13.6.9 (22G830)
- Terminal program: Apple_Terminal (447.1)
- Tmux: no
- Git: git version 2.46.0
- Pure state:
- username: `''`
- prompt: `'==>'`
- version: `1.23.0`
- zsh-async version: `1.8.6`
- PROMPT: `typeset -g PROMPT=$'%F{${prompt_pure_colors[path]}}%~%f
%}%(12V.%F{$prompt_pure_colors[virtualenv]}%12v%f .)%(?.%F{$prompt_pure_colors[prompt:success]}.%F{$prompt_pure_colors[prompt:error]})${prompt_pure_state[prompt]}%f '`
- Colors: `typeset -g -A prompt_pure_colors=( [execution_time]=yellow [git:action]=yellow [git:arrow]=cyan [git:branch]=242 [git:branch:cached]=red [git:dirty]=218 [git:stash]=cyan [host]=242 [path]=green [prompt:continuation]=199 [prompt:error]=199 [prompt:success]=199 [suspended_jobs]=red [user]=242 [user:root]=default [virtualenv]=242 )`
- TERM: `export TERM=xterm-256color`
- Virtualenv: `export VIRTUAL_ENV_DISABLE_PROMPT=12`
- Conda: `export CONDA_CHANGEPS1=no`
- Detected frameworks: None
Please see ### General information
Please see ### General information
.zshrc
:export HISTSIZE=50000
export SAVEHIST=10000000
setopt APPEND_HISTORY
setopt EXTENDED_HISTORY
setopt HIST_EXPIRE_DUPS_FIRST
setopt HIST_IGNORE_DUPS
setopt HIST_FIND_NO_DUPS
setopt HIST_SAVE_NO_DUPS
export PATH=/opt/local/libexec/gnubin:$PATH
# Add colors to Terminal
export CLICOLOR=1
export LSCOLORS=ExFxBxDxCxegedabagacad
TMOUT=1
TRAPALRM() {
zle reset-prompt
}
fpath+=($HOME/.zsh/pure)
autoload -U promptinit; promptinit
prompt pure
PURE_PROMPT_SYMBOL="==>"
zstyle :prompt:pure:path color green
# zstyle :prompt:pure:prompt color white
zstyle ':prompt:pure:prompt:*' color 199
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too