aboutsummaryrefslogtreecommitdiff
path: root/segments/utc_time.sh
diff options
context:
space:
mode:
Diffstat (limited to 'segments/utc_time.sh')
-rwxr-xr-xsegments/utc_time.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/segments/utc_time.sh b/segments/utc_time.sh
new file mode 100755
index 0000000..4da6149
--- /dev/null
+++ b/segments/utc_time.sh
@@ -0,0 +1,6 @@
+# Prints the current time in UTC.
+
+run_segment() {
+ date -u +"%H:%M"
+ return 0
+}