Skip to content
This repository has been archived by the owner on Jan 27, 2023. It is now read-only.

A zsh terminal title setting plugin based on a script from romkatv

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE.md
MIT
powerlevel10k-LICENSE.md
Notifications You must be signed in to change notification settings

AnimiVulpis/zsh-terminal-title

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

zsh-terminal-title (Archived)

Terminal title setting plugin for zsh with no options

Archived

As I'm now using https://github.com/romkatv/zsh4humans which does terminal title setting on it's own I have no need anymore for this repository.

Attribution

The plugin is based on a zsh script posted by romkatv in a comment here which was put under the same license as powerlevel10k. See the copy of the original license or the current license.

Usage

Only tested with zinit.

Put these lines into your .zshrc (after you sourced zinit):

  • Recommended way (with turbo mode; using the newer for syntax):

    zinit wait lucid nocd atload"!set-term-title-precmd" for \
        AnimiVulpis/zsh-terminal-title
    
    • wait to activate turbo mode
    • lucid to prevent "Loaded" message from appearing
    • nocd to prevent the plugin directory in the window title
    • atload"!set-term-title-precmd" to call the title setting function after plugin load
  • If you don't want to use turbo mode you can

    zinit light-mode for \
        AnimiVulpis/zsh-terminal-title
    
    • light-mode to load the plugin without investigating

More information about zinit modifiers.

Style information

I try to adhere to the best practices pointed out here

Possible future work

About

A zsh terminal title setting plugin based on a script from romkatv

Topics

Resources

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE.md
MIT
powerlevel10k-LICENSE.md

Stars

Watchers

Forks

Languages