Skip to content

Instantly share code, notes, and snippets.

View floam's full-sized avatar

Aaron Gyes floam

  • Mutable
  • Las Vegas, NV
  • 21:43 (UTC -07:00)
  • X @floam
View GitHub Profile
@floam
floam / rule.fish
Last active January 11, 2019 14:17 — forked from ttscoff/rule.fish
rule and rulem bash functions (http://brettterpstra.com/2015/02/20/shell-trick-printf-rules/) in fish
# rule and rulem bash functions in fish script
# Jay Berringer did this conversion and then Aaron Gyes fixed it up.
# a way to pad with something other than spaces... by replacing all spaces
# with another character
# based on this bash/printf technique: http://brettterpstra.com/2015/02/20/shell-trick-printf-rules/
# rule: Print a ruler in terminal window
#