Skip to content

Commit

Permalink
Align history files to XDG specification (#426)
Browse files Browse the repository at this point in the history
  • Loading branch information
guiltiest-gear authored Aug 18, 2024
1 parent 9a4cab4 commit cdb6c9b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion programs/nodejs.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"path": "$HOME/.node_repl_history",
"movable": true,
"help": "Export the following environment variables:\n\n```bash\nexport NODE_REPL_HISTORY=\"$XDG_DATA_HOME\"/node_repl_history\n```\n"
"help": "Export the following environment variables:\n\n```bash\nexport NODE_REPL_HISTORY=\"$XDG_STATE_HOME\"/node_repl_history\n```\n"
}
],
"name": "nodejs"
Expand Down
2 changes: 1 addition & 1 deletion programs/postgresql.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
{
"path": "$HOME/.psql_history",
"movable": true,
"help": "Export the following environment variables:\n\n```bash\nexport PSQL_HISTORY=\"$XDG_DATA_HOME/psql_history\"\n```\n"
"help": "Export the following environment variables:\n\n```bash\nexport PSQL_HISTORY=\"$XDG_STATE_HOME/psql_history\"\n```\n"
},
{
"path": "$HOME/.psqlrc",
Expand Down
2 changes: 1 addition & 1 deletion programs/redis.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"path": "$HOME/.rediscli_history",
"movable": true,
"help": "Export the following environment variables:\n\n```bash\nexport REDISCLI_HISTFILE=\"$XDG_DATA_HOME\"/redis/rediscli_history\n```\n"
"help": "Export the following environment variables:\n\n```bash\nexport REDISCLI_HISTFILE=\"$XDG_STATE_HOME\"/redis/rediscli_history\n```\n"
},
{
"path": "$HOME/.redisclirc",
Expand Down

0 comments on commit cdb6c9b

Please sign in to comment.