summaryrefslogtreecommitdiff
path: root/documentation/tips
diff options
context:
space:
mode:
authorailin-nemui <ailin-nemui@users.noreply.github.com>2017-09-25 16:41:31 +0200
committerGitHub <noreply@github.com>2017-09-25 16:41:31 +0200
commit2c04a0a44745826e15a5f9d941910a1981a51458 (patch)
treec3fd2211d15465ce09e8f36ae4d34ebb153fb324 /documentation/tips
parentbc690e8811a0b3dfdb2bf5db6a39fe34b7be9fb3 (diff)
downloadirssi.github.io-2c04a0a44745826e15a5f9d941910a1981a51458.zip
Update index.markdown
remove unnecessary uptime alias
Diffstat (limited to 'documentation/tips')
-rw-r--r--documentation/tips/index.markdown8
1 files changed, 5 insertions, 3 deletions
diff --git a/documentation/tips/index.markdown b/documentation/tips/index.markdown
index 6923678..cfd3a20 100644
--- a/documentation/tips/index.markdown
+++ b/documentation/tips/index.markdown
@@ -44,11 +44,13 @@ Audible bell (switch Ctrl+a Ctrl+g)
/format pubmsg {pubmsgnick $2 {pubnick $[-9]0}}$1
/format pubmsg_channel {pubmsgnick $3 {pubnick $[-9]0}{msgchannel $1}}$2
-### uptime alias
+### uptime
-put it in your .irssi/config in the alias section as one line:
+type
-``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" }'";``
+ /uptime
+
+to view irssi's uptime
### ssh/telnet alias