summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChloé Vulquin <code@toast.bunkerlabs.net>2024-12-12 16:16:21 +0100
committerChloé Vulquin <code@toast.bunkerlabs.net>2024-12-12 16:16:21 +0100
commit8fc21cbcf627b552b30803c02bed1393ca68d31a (patch)
treee672a053b0588ae03c79363b74610b43df3b6de2
parentfish/history: node_history -> node (diff)
fish/history: move history to state dir
-rw-r--r--dot_config/private_fish/conf.d/history.fish2
1 files changed, 1 insertions, 1 deletions
diff --git a/dot_config/private_fish/conf.d/history.fish b/dot_config/private_fish/conf.d/history.fish
index 9dc4d68..311e2ad 100644
--- a/dot_config/private_fish/conf.d/history.fish
+++ b/dot_config/private_fish/conf.d/history.fish
@@ -1,7 +1,7 @@
# a bunch of items pollute ~ with history files
# and they all want different stuff to not do that!
# I want all my history in ~/.local/share/history/, so…
-set -Uuq RLWRAP_HOME || set -Uu RLWRAP_HOME ~/.local/share/history
+set -Uuq RLWRAP_HOME || set -Uu RLWRAP_HOME ~/.local/state/history
set -Uuq LESSHISTFILE || set -Uu LESSHISTFILE $RLWRAP_HOME/less
set -Uuq NODE_REPL_HISTORY || set -Uu NODE_REPL_HISTORY $RLWRAP_HOME/node
set -Uuq PSQL_HISTORY || set -Uu PSQL_HISTORY $RLWRAP_HOME/psql