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
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
termtitle demo_project_root
termtitle 這是秘密的鋼彈計劃
termtitle サイボーグ009のメンバー
termtitle "" # reset the title to empty
Dev
publish:
change version="x.y.z in setup.py
python setup.py check --restructuredtext -s do some check before publishing
python setup.py sdist
Use twine to publish: twine upload dist/*
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file termtitle-0.1.9.tar.gz.
File metadata
- Download URL: termtitle-0.1.9.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b678286518ee4a2d504cbcf1c05262af574ab30f9671e70b931784dacde15f8e
|
|
| MD5 |
7f55875a14f099ee70f5e54997a201c5
|
|
| BLAKE2b-256 |
9469b7befa32428f933355013056af5315584119b72a1b724447a01484aac1b2
|