diff options
Diffstat (limited to 'modules/time')
-rwxr-xr-x | modules/time | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/modules/time b/modules/time new file mode 100755 index 0000000..dfd2400 --- /dev/null +++ b/modules/time @@ -0,0 +1,12 @@ +#!/bin/bash + +# Prints out the time + +PREFIX=' ' + +get_time() +{ + echo "$PREFIX$(date '+%H:%M')" +} + +get_time |