summaryrefslogtreecommitdiffstats
path: root/iredis/data/iredisrc
diff options
context:
space:
mode:
Diffstat (limited to 'iredis/data/iredisrc')
-rw-r--r--iredis/data/iredisrc15
1 files changed, 15 insertions, 0 deletions
diff --git a/iredis/data/iredisrc b/iredis/data/iredisrc
index bf79e90..6db02a7 100644
--- a/iredis/data/iredisrc
+++ b/iredis/data/iredisrc
@@ -58,6 +58,21 @@ warning = True
# eg. ~/.iredis.log
log_location =
+# You can change the prompt str, if left blank, the default prompt would be:
+# 127.0.0.1:6379>
+# which is rendered by "{host}:{port}[{db}]> "
+# supported interpolations:
+# {client_name}
+# {db}
+# {host}
+# {path}
+# {port}
+# {username}
+# {client_addr}
+# {client_id}
+# The prompt string uses python string format engine
+prompt =
+
# History file location
history_location = ~/.iredis_history