From b1f3378c3c71c282a57484671a94943ff79935a0 Mon Sep 17 00:00:00 2001 From: xaos Date: Wed, 7 Jul 2021 21:30:24 +0200 Subject: [PATCH] include link to the original --- geometry.zsh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/geometry.zsh b/geometry.zsh index 773d803..5ea415d 100644 --- a/geometry.zsh +++ b/geometry.zsh @@ -63,7 +63,7 @@ geometry::hostcolor() { echo ${colors[${index}]} } -# Set terminal window and tab/icon title +# Set terminal window and tab/icon title # # usage: title short_tab_title [long_window_title] # @@ -71,6 +71,9 @@ geometry::hostcolor() { # Fully supports screen, iterm, and probably most modern xterm and rxvt # (In screen, only short_tab_title is used) # Limited support for Apple Terminal (Terminal can't set window and tab separately) + +# This is the title() function taken directly from oh-my-zsh +# https://github.com/ohmyzsh/ohmyzsh/blob/c44b99e901d7ef58f60247995152de1b937e2e9c/lib/termsupport.zsh geometry::echo_title_sequence() { emulate -L zsh setopt prompt_subst