summaryrefslogtreecommitdiffstats
path: root/imagrc.toml
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2016-10-11 18:22:41 +0200
committerGitHub <noreply@github.com>2016-10-11 18:22:41 +0200
commitac1af164e902b085895d76b8163f9fa41df4e3d1 (patch)
tree938063af573ee09dcf436b9b99230731aadaae13 /imagrc.toml
parent906e26df6fc153511881df0ecb49580ae9d31f9a (diff)
parent5cb3593df47619d2a569ad876e63c419d6598aaa (diff)
Merge pull request #775 from matthiasbeyer/libimaginteraction/readline
libimaginteraction: readline support
Diffstat (limited to 'imagrc.toml')
-rw-r--r--imagrc.toml26
1 files changed, 26 insertions, 0 deletions
diff --git a/imagrc.toml b/imagrc.toml
index 0e441220..37a940df 100644
--- a/imagrc.toml
+++ b/imagrc.toml
@@ -1,6 +1,32 @@
# This is a example configuration file for the imag suite.
# It is written in TOML
+#
+# Configuration options for the user interface
+#
+[ui]
+
+#
+# Configuration options for the commandline user interface
+#
+[ui.cli]
+
+# History file path for readline. Will be created by imag if it does not exist.
+readline_history_file = "/tmp/readline.history"
+
+# Number of lines to safe in the history file
+readline_history_size = 100
+
+# Ignore duplicated lines
+readline_history_ignore_dups = true
+
+# Tell if lines which begin with a space character are saved or not in the
+# history list.
+readline_history_ignore_space = true
+
+# The prompt string to use
+readline_prompt = ">> "
+
[store]
# Set to false if you do not want imag to create the directory where the store