Skip to content

Commit

Permalink
Disable setting title in emacs terminal (not supported)
Browse files Browse the repository at this point in the history
This fixes #188 and takes place of #190, at least for now.
  • Loading branch information
mafredri committed Feb 15, 2016
1 parent 9e4955c commit 79b1514
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pure.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ prompt_pure_check_git_arrows() {
}

prompt_pure_set_title() {
# emacs terminal does not support settings the title
(( ${+EMACS} )) && return

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

0 comments on commit 79b1514

Please sign in to comment.