Skip to content

Commit

Permalink
Add env var to DISABLE_AUTO_TITLE
Browse files Browse the repository at this point in the history
  • Loading branch information
veggiemonk committed Mar 12, 2018
1 parent a3b22b2 commit aa0c01e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pure.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@ prompt_pure_set_title() {
# emacs terminal does not support settings the title
(( ${+EMACS} )) && return

# disable auto title
if "$DISABLE_AUTO_TITLE" == true; then
return
fi

# tell the terminal we are setting the title
print -n '\e]0;'
# show hostname if connected through ssh
Expand Down

0 comments on commit aa0c01e

Please sign in to comment.