minimalist time progress tracker for your shell
Day : [################..................................] 33%
Week : [#########.........................................] 19%
oh-my-zsh
git clone https://github.com/j4hongir/tempo.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/tempoadd tempo to your plugins in .zshrc:
plugins=(... tempo)zinit
zinit light j4hongir/tempomanual
git clone https://github.com/j4hongir/tempo.git ~/tempo
echo 'source ~/tempo/tempo.plugin.zsh' >> ~/.zshrcgit clone https://github.com/j4hongir/tempo.git ~/tempo
echo 'source ~/tempo/tempo.bash' >> ~/.bashrcfisher
fisher install j4hongir/tempomanual
git clone https://github.com/j4hongir/tempo.git ~/tempo
ln -s ~/tempo/functions/tempo.fish ~/.config/fish/functions/tempo.fish
ln -s ~/tempo/completions/tempo.fish ~/.config/fish/completions/tempo.fish
ln -s ~/tempo/conf.d/tempo.fish ~/.config/fish/conf.d/tempo.fishtempo # all progress bars
tempo -d # day only
tempo -w # week only
tempo -m # month only
tempo -y # year only
tempo -a # all (explicit)
tempo -c # show config
tempo -h # help
set in .bashrc / .zshrc / config.fish:
| variable | default | description |
|---|---|---|
TEMPO_WIDTH |
40 |
bar width |
TEMPO_FILLED |
# |
filled character |
TEMPO_EMPTY |
. |
empty character |
TEMPO_COLOR |
true |
color output |
TEMPO_ITEMS |
day week month year |
items to show |
TEMPO_AUTO |
true |
auto-show on startup |
bash/zsh:
export TEMPO_WIDTH=50
export TEMPO_ITEMS="day week"
source ~/tempo/tempo.plugin.zshfish:
set -g TEMPO_WIDTH 50
set -g TEMPO_ITEMS="day week"