From fa25023586cb94a1abf4fd3ff95ebe7c3c8ead09 Mon Sep 17 00:00:00 2001 From: Ben Beltran Date: Sun, 16 Feb 2020 14:40:26 +0100 Subject: Remove prezto --- zsh/functions/short-uptime.zsh | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 zsh/functions/short-uptime.zsh (limited to 'zsh/functions/short-uptime.zsh') diff --git a/zsh/functions/short-uptime.zsh b/zsh/functions/short-uptime.zsh new file mode 100644 index 0000000..0ab9849 --- /dev/null +++ b/zsh/functions/short-uptime.zsh @@ -0,0 +1,3 @@ +short-uptime () { + uptime | awk '{print $(3)"d "$(5)" "$(NF+0)" "$(NF-1)" "$(NF-0)}' +} -- cgit