GithubHelp home page GithubHelp logo

anthrax3 / hr Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lurst/hr

0.0 0.0 0.0 35 KB

A horizontal :straight_ruler: for your terminal

License: MIT License

Makefile 8.29% Shell 41.22% Roff 50.49%

hr's Introduction

hr

A horizontal ruler for your terminal

Tired of not finding things in your terminal because there's a lot of logs and garbage? Tired of destroying the Enter key by creating a "void zone" in your terminal so that you can see the error that you're trying to debug?

Setup

Linux

Quick install

$ curl https://raw.githubusercontent.com/LuRsT/hr/master/hr > ~/bin/hr
(Examine ~/bin/hr)
$ chmod +x ~/bin/hr

Note: You should have ~/bin in your $PATH for this to work.

Complete install

$ git clone [email protected]:LuRsT/hr.git
$ cd hr

Open Makefile and edit the PREFIX variable, specifying the directory where you'd want the software to reside. Then:

$ sudo make install

OSX

OSX users can install using Homebrew:

$ brew install hr

How to use it?

$ hr
################################## # Till the end of your terminal window
$

$ hr '*'
********************************** # Till the end of your terminal window
$

You can also make "beautiful" ASCII patterns

$ hr - '#' -
----------------------------------
##################################
----------------------------------
$ hr '-#-' '-' '-#-'
-#--#--#--#--#--#--#--#--#--#--#--
----------------------------------
-#--#--#--#--#--#--#--#--#--#--#--

That's it, no requirements, just pure old bash and tput, check the source, it's free.

More

Check out more information in hrs wiki

hr's People

Contributors

ajkerrigan avatar awendt avatar blaskovic avatar dodecahedral-champion avatar dotemacs avatar gen0cide avatar hasit avatar jdowning avatar jesskay avatar jscheel avatar keith-s-thompson avatar lkdjiin avatar lurst avatar markusfisch avatar neo1001 avatar prayagverma avatar pweldon avatar strugee avatar xuxiaodong avatar

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.