diff options
| author | Ben Beltran <ben@nsovocal.com> | 2020-02-16 14:40:26 +0100 |
|---|---|---|
| committer | Ben Beltran <ben@nsovocal.com> | 2020-02-16 14:40:26 +0100 |
| commit | fa25023586cb94a1abf4fd3ff95ebe7c3c8ead09 (patch) | |
| tree | 87404d2a291facd6d7fd567fe251bc1c12f688c8 /zsh/functions/short-uptime.zsh | |
| parent | f6272d88eae76c8553f237f3f318c4a97997f262 (diff) | |
Remove prezto
Diffstat (limited to 'zsh/functions/short-uptime.zsh')
| -rw-r--r-- | zsh/functions/short-uptime.zsh | 3 |
1 files changed, 3 insertions, 0 deletions
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)}' +} |