Skip to content

theno/fabsetup-theno-powerline-shell

Repository files navigation

fabsetup-theno-powerline-shell

Install or update powerline-shell.

With this fabsetup addon you can install or update termdown, a "[c]ountdown timer and stopwatch in your terminal".

It installs termdown via pip install --user termdown. Also, it installs a bash-wrapper script at ~/bin/termdown which is convenient to time pomodoro sessions and pops up a notification when the timer finishes:

termdown 25m

Touched files, dirs, and installed packages:

    ~/.config/powerline-shell/config.json

Usage

# task info
fabsetup -d theno.powerline_shell

# run task
fabsetup theno.powerline_shell

Installation

As a pypi package with command pip (recommended way):

pip install  fabsetup-theno-powerline-shell

Development

https://github.com/theno/fabsetup/blob/master/howtos/fabsetup-addon.md

Devel commands:

# save changes
git commit -am 'I describe my changes'

# upload to github
git push origin master

# update version number in fabsetup_theno_powerline_shell

# create and publish package at pypi
fab -f fabfile-dev.py  pypi

# clean up
fab -f fabfile-dev.py  clean

Clone the github repository:

mkdir -p ~/.fabsetup-addon-repos
git clone https://github.com/theno/fabsetup-theno-powerline-shell.git  ~/.fabsetup-addon-repos/fabsetup-theno-powerline-shell

# install fabsetup if not done already
pip install fabsetup

# fabsetup now finds the addon bcause it is located at ~/.fabsetup-addon-repos
fabsetup -d theno.powerline_shell

More ways to run the task:

# you also can run the task directly
cd ~/.fabsetup-addon-repos/fabsetup-theno-powerline-shell
fab -d theno.powerline_shell

# or from a cloned fabsetup repository
git clone https://github.com/theno/fabsetup.git ~/.fabsetup
cd ~/.fabsetup
fab -d theno.powerline_shell

# run directly, fabsetup from cloned repo
cd ~/.fabsetup-addon-repos/fabsetup-theno-powerline-shell
PYTHONPATH=~/.fabsetup fab -d theno.powerline_shell

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published