diff options
| author | 2024-12-10 20:28:26 +0100 | |
|---|---|---|
| committer | 2024-12-10 20:28:26 +0100 | |
| commit | 0e65f8cfa3d2c3dd9270b77a0ce4c3fe598fdeb4 (patch) | |
| tree | aac762de0994cfd54a29983e9fb82953fbc7b8d7 | |
| parent | fish: add rust XDG compatibility (diff) | |
fish: add history configuration
| -rw-r--r-- | dot_config/private_fish/conf.d/history.fish | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/dot_config/private_fish/conf.d/history.fish b/dot_config/private_fish/conf.d/history.fish new file mode 100644 index 0000000..41ddf15 --- /dev/null +++ b/dot_config/private_fish/conf.d/history.fish @@ -0,0 +1,12 @@ +# 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 LESSHISTFILE || set -Uu LESSHISTFILE $RLWRAP_HOME/less +set -Uuq NODE_REPL_HISTORY || set -Uu NODE_REPL_HISTORY $RLWRAP_HOME/node_history +set -Uuq PSQL_HISTORY || set -Uu PSQL_HISTORY $RLWRAP_HOME/psql +set -Uuq PYTHON_HISTORY || set -Uu PYTHON_HISTORY $RLWRAP_HOME/python +set -Uuq SQLITE_HISTORY || set -Uu SQLITE_HISTORY $RLWRAP_HOME/sqlite +set -Uuq USQL_HISTORY || set -Uu USQL_HISTORY $RLWRAP_HOME/usql + +setux RLWRAP_HOME LESSHISTFILE NODE_REPL_HISTORY PSQL_HISTORY PYTHON_HISTORY SQLITE_HISTORY |
