aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-09-13 10:59:56 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-09-13 10:59:56 +1200
commitb496646e1572baf6e851157e92a99989dbb2f726 (patch)
tree6e3ac5649da2e056ddbce2e8400f29fb148a8f66
parent4d0e545289530bf27916d0f70794f9100cddb22b (diff)
downloaddotfiles-b496646e1572baf6e851157e92a99989dbb2f726.tar.gz
Try out Readline history-preserve-point
Not 100% sure on this yet
-rw-r--r--readline/inputrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/readline/inputrc b/readline/inputrc
index 6cfc4136..c1e8a2ba 100644
--- a/readline/inputrc
+++ b/readline/inputrc
@@ -23,6 +23,9 @@ set echo-control-characters off
# Expand tilde to full path on completion
set expand-tilde on
+# Keep the cursor column when iterating through history
+set history-preserve-point on
+
# Add a trailing slash for directories and symlinked directories
set mark-directories on
set mark-symlinked-directories on