GithubHelp home page GithubHelp logo

edouard-lopez / progress-bar.sh Goto Github PK

View Code? Open in Web Editor NEW
233.0 15.0 55.0 24 KB

Simple & sexy progress bar for `bash`, give it a duration and it will do the rest.

License: MIT License

Shell 100.00%
progress-bar shell simple progressbar bats

progress-bar.sh's People

Contributors

aloisdg avatar edouard-lopez avatar scheleon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

progress-bar.sh's Issues

sure looks nice but it is not running

hello
i found your progress-bar.sh script.
copy pasted change right/permission and wished to run.

but nothing happen, but also no error

so is the something needed which is not in a default debian 10 installation?

have a nice day
vinc

Percentage stick to 0%

Whatever the value, the progress bar advance, but the percentage stick to 0

progress-bar 5
▇▇▇  | 0%

syntax error near unexpected token `newline'

Hey, when I source the script i get the following error:

-bash: progress-bar.sh: line 24: syntax error near unexpected token `newline'
-bash: progress-bar.sh: line 24: `  already_done() { for ((done=0; done<(elapsed / fit_to_screen) ; done=done+1 )); do printf "▇"; done }'

I'm not sure what this is...
It might be because I'm running bash in WSL

Edit: Yes it has something to do with WSL, runs fine on my ubuntu machine

Can we make the progress bar fit screen size?

Hey,
Nice work with the progress bar, I was wondering if we could let the progress bar fit to screen size. Right now it is occupying a pre-defined (not sure if shell specific or pre-defined) space, instead of covering up the whole screen (width wise)?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.