diff options
author | Timo Sirainen <cras@irssi.org> | 2001-06-27 16:39:03 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-06-27 16:39:03 +0000 |
commit | 03e249a27d480b3a00c3337ca1730548d2acec09 (patch) | |
tree | 735e0c1d7dedcba833b7178ab7804958f90d0aeb /config | |
parent | f4e65d6222dee6879a3cc25c7f55b9ba75f83738 (diff) | |
download | irssi-03e249a27d480b3a00c3337ca1730548d2acec09.zip |
Added /UPTIME alias
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1573 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'config')
-rw-r--r-- | config | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -62,4 +62,5 @@ aliases = { SV = "say Irssi $J - http://irssi.org/"; GOTO = "sb goto"; CHAT = "dcc chat"; + UPTIME = "eval exec - expr `date +%s` - \\$F | awk '{print \"Irssi uptime: \"int(\\\\\\$1/3600/24)\"d \"int(\\\\\\$1/3600%24)\"h \"int(\\\\\\$1/60%60)\"m \"int(\\\\\\$1%60)\"s\" }'"; }; |