about summary refs log tree commit diff
path: root/profile/.profile.d/20_history.sh
diff options
context:
space:
mode:
Diffstat (limited to 'profile/.profile.d/20_history.sh')
-rw-r--r--profile/.profile.d/20_history.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/profile/.profile.d/20_history.sh b/profile/.profile.d/20_history.sh
new file mode 100644
index 0000000..b7f42bc
--- /dev/null
+++ b/profile/.profile.d/20_history.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+export HISTFILE="${XDG_DATA_HOME}/.histfile"
+export HISTSIZE=100000

Consider giving Nix/NixOS a try! <3