Skip to content

Commit

Permalink
include link to the original
Browse files Browse the repository at this point in the history
  • Loading branch information
xaos committed Jul 7, 2021
1 parent adabd26 commit b1f3378
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion geometry.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,17 @@ 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]
#
# See: http://www.faqs.org/docs/Linux-mini/Xterm-Title.html#ss3.1
# 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
Expand Down

0 comments on commit b1f3378

Please sign in to comment.