diff --git a/home/program/bash/module/Print.nix b/home/program/bash/module/Print.nix new file mode 100644 index 00000000..7699ab7b --- /dev/null +++ b/home/program/bash/module/Print.nix @@ -0,0 +1,9 @@ +{ ... }: { + text = '' + # Printf shortcut. + # Usage: print [TEXT] + function print() { + printf "%s" "''${*}" + } + ''; +}