Skip to content

Commit b1f3378

Browse files
author
xaos
committed
include link to the original
1 parent adabd26 commit b1f3378

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

geometry.zsh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,14 +63,17 @@ geometry::hostcolor() {
6363
echo ${colors[${index}]}
6464
}
6565

66-
# Set terminal window and tab/icon title
66+
# Set terminal window and tab/icon title
6767
#
6868
# usage: title short_tab_title [long_window_title]
6969
#
7070
# See: http://www.faqs.org/docs/Linux-mini/Xterm-Title.html#ss3.1
7171
# Fully supports screen, iterm, and probably most modern xterm and rxvt
7272
# (In screen, only short_tab_title is used)
7373
# Limited support for Apple Terminal (Terminal can't set window and tab separately)
74+
75+
# This is the title() function taken directly from oh-my-zsh
76+
# https://github.com/ohmyzsh/ohmyzsh/blob/c44b99e901d7ef58f60247995152de1b937e2e9c/lib/termsupport.zsh
7477
geometry::echo_title_sequence() {
7578
emulate -L zsh
7679
setopt prompt_subst

0 commit comments

Comments
 (0)