mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
Added helper functions.
This commit is contained in:
parent
90da5fc874
commit
9c24ac8211
6 changed files with 63 additions and 13 deletions
|
|
@ -14,7 +14,7 @@ fi
|
|||
# Partially supports Mac OS X Terminal since it can't set window and tab separately.
|
||||
# Usage: title "tab title" "window title"
|
||||
function terminal-title {
|
||||
if [[ "$DISABLE_AUTO_TITLE" != 'true' ]]; then
|
||||
if ! check-bool "$DISABLE_AUTO_TITLE"; then
|
||||
if [[ "$TERM" == screen* ]]; then
|
||||
# Set GNU Screen's hardstatus (usually truncated at 20 characters).
|
||||
printf "\ek%s\e\\" ${(V)1}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue