A horizontal ruler for your terminal
Tired of not finding things in your terminal because there's a lot of logs andgarbage? Tired of destroying the Enter key by creating a "void zone" in yourterminal so that you can see the error that you're trying to debug?
$ 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.
$ git clone git@github.com:LuRsT/hr.git
$ cd hr
Open Makefile
and edit the PREFIX
variable, specifying the directorywhere you'd want the software to reside. Then:
$ sudo make install
OSX users can install using Homebrew:
$ brew install hr
$ 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.
Check out more information in hr
s wiki
作者:a玉荣 链接:https://www.jianshu.com/p/551bbf6c5eba 来源:简书 著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。 定义 人力资源是指在一个国家或地区中,处于劳动年龄、未到劳动年龄和超过劳动年龄但具有劳动能力的人口之和。 人力资源也指一定时期内组织中的人所拥有的能被企业所用,且对价值创造起贡献作用的教育、能力、技能、经验、体力等的总称