Bash: Add print.
This commit is contained in:
parent
7aa1e10fbf
commit
4df6c6c69d
9
home/program/bash/module/Print.nix
Normal file
9
home/program/bash/module/Print.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{ ... }: {
|
||||
text = ''
|
||||
# Printf shortcut.
|
||||
# Usage: print [TEXT]
|
||||
function print() {
|
||||
printf "%s" "''${*}"
|
||||
}
|
||||
'';
|
||||
}
|
Loading…
Reference in a new issue