Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lurst/hr
A horizontal :straight_ruler: for your terminal
https://github.com/lurst/hr
cli shell utils
Last synced: about 1 month ago
JSON representation
A horizontal :straight_ruler: for your terminal
- Host: GitHub
- URL: https://github.com/lurst/hr
- Owner: LuRsT
- License: mit
- Created: 2014-02-10T19:54:39.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2022-11-30T16:10:36.000Z (almost 2 years ago)
- Last Synced: 2024-10-15T00:20:12.373Z (about 1 month ago)
- Topics: cli, shell, utils
- Language: Roff
- Homepage:
- Size: 37.1 KB
- Stars: 1,278
- Watchers: 21
- Forks: 62
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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/hrNote: You should have `~/bin` in your `$PATH` for this to work.
#### Complete install
$ git clone [email protected]:LuRsT/hr.git
$ cd hrOpen `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 `hr`s [wiki](https://github.com/LuRsT/hr/wiki)