X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/xdg-ninja.git/blobdiff_plain/1d0b74e1ee4d6440b771db607f45e2996635318b..032b172296b664fa618cfd66342ca9c7271344cc:/programs/less.json diff --git a/programs/less.json b/programs/less.json index 58f3805..2eedd46 100644 --- a/programs/less.json +++ b/programs/less.json @@ -3,12 +3,12 @@ { "path": "$HOME/.lesshst", "movable": true, - "help": "Supported by default.\n\nYou can move the file to _$XDG_STATE_HOME/lesshst_.\n" + "help": "Supported by default since **less** version 598. You can check your version with the following command:\n\n```bash\nless --version\n```\n\nIf your version is **not lower** than that, you can move the file to _$XDG_STATE_HOME/lesshst_.\n\n\nIf your version is **lower** than that, you need to export the following environment variables first:\n\n```bash\nexport LESSHISTFILE=\"${XDG_STATE_HOME}\"/lesshst\n```\n\nThen move the file.\n" }, { "path": "$HOME/.lesskey", "movable": true, - "help": "Supported by default.\n\nYou can move the file to _$XDG_CONFIG_HOME/lesskey_.\n" + "help": "Supported by default since **less** version 590. You can check your version with the following command:\n\n```bash\nless --version\n```\n\nIf your version is **not lower** than that, you can move the file to _$XDG_CONFIG_HOME/lesskey_.\n\n\nIf your version is **lower** than that, you need to export the following environment variables first:\n\n```bash\nexport LESSKEYIN=\"${XDG_CONFIG_HOME}\"/lesskey\n```\n\nThen move the file.\n" } ], "name": "less"