Skip to main content

End user Installation via Homebrew

brew install termtitle

If it is not accessable, try

brew install https://raw.githubusercontent.com/grimmer0125/homebrew-core/termtitle/Formula/termtitle.rb

End user Installation via pip

https://img.shields.io/pypi/dw/termtitle.svg

Thare are several ways to install, and it depends on your Python environment and preference.

1. default system python + install globally (accessable for each user)

sudo pip install termtitle

2. default system python + install in current user folder

pin install --user termtitle.

But you need to add Python bin directories to PATH,

  • test it first, python2.7 -m site &> /dev/null && PATH="$PATH:`python2.7 -m site --user-base`/bin" (ref: https://stackoverflow.com/a/48380776/7354486)

  • termtitle random_title

  • if you see your titles change, then you can permanently change your PATH, echo 'export PATH="$PATH:`python2.7 -m site --user-base`/bin"' >>~/.bash_profile

3. Python3+pip3 (which might be from “brew install python3”)

pip3 install termtitle.

4. non system Python of pyenv

pip install termtitle.

Usage

If you are using zsh and this package does not take effect, you might need to set DISABLE_AUTO_TITLE=”true” in ~/.zshrc and restart shell to try again.

  • termtitle demo_project_root

  • termtitle 這是秘密的鋼彈計劃

  • termtitle サイボーグ009のメンバー

  • termtitle "" # reset the title to empty

Dev

local test:

  • Install: python setup.py install

  • Uninstall: pip uninstall termtitle

publish:

  1. change version="x.y.z in setup.py

  2. python setup.py check --restructuredtext -s do some check before publishing

  3. python setup.py sdist

  4. Use twine to publish: twine upload dist/*

Release files for termtitle 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for termtitle 0.2.0
File Size Uploaded
termtitle-0.2.0.tar.gz 2.7 kB Details

Release files / termtitle-0.2.0.tar.gz

Download URL termtitle-0.2.0.tar.gz
Size 2.7 kB
Tags Source
SHA-256 checksum
How to use checksums
1cfe5e8b9dc8a8362310fe182bb71fcf4391e5c6aca8fd77fd73fe32454ed363
BLAKE2b-256 checksum
How to use checksums
2a81637120325bacfc472fe728676ddea5d352131cd75aafac03db4bb2b939b7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.2

Release history Release notifications | RSS feed

This release

0.2.0 This release

1 release file

0.1.9

1 release file

0.1.7

1 release file

0.1.6

1 release file

0.1.5

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page