trystan2k / zsh-tab-title Goto Github PK
View Code? Open in Web Editor NEWA ZSH plugin to set the terminal tab title according to current directory or running process. It's based (forked) from Oh-My-ZSH one.
License: Other
A ZSH plugin to set the terminal tab title according to current directory or running process. It's based (forked) from Oh-My-ZSH one.
License: Other
Forgive me if I a mistaken about how this should be setup...
I wanted to have the host I am SSH'd into in the tab title
...
# Setup ZPM
if [[ ! -f ~/.zpm/zpm.zsh ]]; then
git clone --recursive https://github.com/zpm-zsh/zpm ~/.zpm
fi
source ~/.zpm/zpm.zsh
# Load ZSH Tab Title
export ZSH_TAB_TITLE_PREFIX='$USER@$HOST - '
zpm load trystan2k/zsh-tab-title
I am using iTerm2 and have the Terminal may report window title
option enabled
Is there something I am doing wrong?
Hi.
I have set the ZSH_TAB_TITLE_DEFAULT_DISABLE_PREFIX=true
in my .zshrc
but the user and computer name separated by '@' is still showing in the title.
Using v.2.2.0
Currently this plugin only works when the terminals TERM variable is one of a small list. It would be great to have an extra variable to pass a list of additional accepted TERM values, eg foot,alacritty
I am using zsh and oh-my-zsh.
Following your installation guide leads to an error with oh-my-zsh.
Execute
git clone https://github.com/trystan2k/zsh-tab-title ~/.oh-my-zsh/custom/plugins/zsh-tab-title
. Addzsh-tab-title
into plugins array in.zshrc
The error is: [oh-my-zsh] plugin 'zsh-tab-title' not found
I corrected the issue by renaming title.plugin.zsh
to zsh-tab-title.plugin.zsh
and then it works as expected.
Using 44f5220 and ZSH_TAB_TITLE_CONCAT_FOLDER_PROCESS=true
, the full command is always displayed instead of just the process name.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.