summaryrefslogtreecommitdiff
path: root/irssi.conf
diff options
context:
space:
mode:
Diffstat (limited to 'irssi.conf')
-rw-r--r--irssi.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/irssi.conf b/irssi.conf
index 701fcb3f..45e39cec 100644
--- a/irssi.conf
+++ b/irssi.conf
@@ -63,7 +63,7 @@ aliases = {
GOTO = "sb goto";
CHAT = "dcc chat";
RUN = "SCRIPT LOAD";
- 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 = "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\" }'";
CALC = "exec - if which bc &>/dev/null\\; then echo '$*' | bc | awk '{print \"$*=\"$$1}'\\; else echo bc was not found\\; fi";
};