When it encounters a file it knows about, it will tell you whether it's possible to move this file to an appropriate location, and how to do it.
-Currently, a subset of the [arch wiki page on XDG_BASE_DIR](https://wiki.archlinux.org/title/XDG_Base_Directory) is implemented as configurations.
+The configurations are from the [arch wiki page on XDG_BASE_DIR](https://wiki.archlinux.org/title/XDG_Base_Directory), [antidot](https://github.com/doron-cohen/antidot) (thanks to Scr0nch for writing a conversion tool), and contributed by other users.
## Running
{
- "name": "aria2",
+ "name": "aria2_dir",
"files": [
{
- "path": "$HOME/.aria2",
- "movable": true,
- "help": "Supported since commit _8bc1d37_.\n\nYou can move the configuration file to _XDG_CONFIG_HOME/aria2/aria2.conf_.\n\nYou can move the cache files to _XDG_CACHE_HOME/aria2_.\n"
+ "path": "${HOME}/.aria2/dht.dat",
+ "moveable": true,
+ "help": "Supported\n\nThe file ${HOME}/.aria2/dht.dat can be moved to ${XDG_CACHE_HOME}/aria2/dht.dat.\n"
+ },
+ {
+ "path": "${HOME}/.aria2/aria.conf",
+ "moveable": true,
+ "help": "Supported\n\nThe file ${HOME}/.aria2/aria.conf can be moved to ${XDG_CONFIG_HOME}/aria2/aria2.conf.\n"
}
]
}
--- /dev/null
+{
+ "name": "bash",
+ "files": [
+ {
+ "path": "${HOME}/.bash_history",
+ "moveable": true,
+ "help": "Export the following environment variables:\n\n```bash\nexport HISTFILE=${XDG_CACHE_HOME}/bash/history\n```\n"
+ }
+ ]
+}
--- /dev/null
+{
+ "name": "ccache",
+ "files": [
+ {
+ "path": "${HOME}/.ccache",
+ "moveable": true,
+ "help": "Export the following environment variables:\n\n```bash\nexport CCACHE_DIR=${XDG_CACHE_HOME}/ccache\n```\n"
+ }
+ ]
+}
--- /dev/null
+{
+ "name": "chez",
+ "files": [
+ {
+ "path": "${HOME}/.chezscheme_history",
+ "moveable": true,
+ "help": "Alias petite to use custom locations:\n\n```bash\nalias petite=petite --eehistory ${XDG_DATA_HOME}/chezscheme/history\nalias scheme=scheme --eehistory ${XDG_DATA_HOME}/chezscheme/history```\n"
+ }
+ ]
+}
--- /dev/null
+{
+ "name": "fontconfig",
+ "files": [
+ {
+ "path": "${HOME}/.fontconfig",
+ "moveable": true,
+ "help": "Supported\n\nThe file ${HOME}/.fontconfig can be moved to ${XDG_DATA_HOME}/fontconfig.\n"
+ }
+ ]
+}
--- /dev/null
+{
+ "name": "fonts",
+ "files": [
+ {
+ "path": "${HOME}/.fonts",
+ "moveable": true,
+ "help": "Supported\n\nThe file ${HOME}/.fonts can be moved to ${XDG_DATA_HOME}/fonts.\n"
+ }
+ ]
+}
--- /dev/null
+{
+ "name": "gdb",
+ "files": [
+ {
+ "path": "${HOME}/.gdbinit",
+ "moveable": true,
+ "help": "Alias gdb to use custom locations:\n\n```bash\nalias gdb=gdb -n -x $XDG_CONFIG_HOME/gdb/init```\n"
+ }
+ ]
+}
--- /dev/null
+{
+ "name": "gem",
+ "files": [
+ {
+ "path": "${HOME}/.gem/ruby",
+ "moveable": true,
+ "help": "Supported\n\nThe file ${HOME}/.gem/ruby can be moved to ${XDG_CONFIG_HOME}/gem.\n"
+ },
+ {
+ "path": "${HOME}/.gem",
+ "moveable": true,
+ "help": "Export the following environment variables:\n\n```bash\nexport GEM_HOME=${XDG_DATA_HOME}/gem\n```\n"
+ },
+ {
+ "path": "${HOME}/.gem/specs",
+ "moveable": true,
+ "help": "Export the following environment variables:\n\n```bash\nexport GEM_SPEC_CACHE=${XDG_CACHE_HOME}/gem\n```\n"
+ }
+ ]
+}
--- /dev/null
+{
+ "name": "httpie",
+ "files": [
+ {
+ "path": "${HOME}/.httpie",
+ "moveable": true,
+ "help": "Supported\n\nThe file ${HOME}/.httpie can be moved to ${XDG_CONFIG_HOME}/httpie.\n"
+ }
+ ]
+}
--- /dev/null
+{
+ "name": "less",
+ "files": [
+ {
+ "path": "${HOME}/.lesshst",
+ "moveable": true,
+ "help": "Export the following environment variables:\n\n```bash\nexport LESSHISTFILE=${XDG_CACHE_HOME}/less/history\n```\n"
+ }
+ ]
+}
--- /dev/null
+{
+ "name": "lnav",
+ "files": [
+ {
+ "path": "${HOME}/.lnav",
+ "moveable": true,
+ "help": "Supported\n\nThe file ${HOME}/.lnav can be moved to ${XDG_CONFIG_HOME}/lnav.\n"
+ }
+ ]
+}
--- /dev/null
+{
+ "name": "mapscii",
+ "files": [
+ {
+ "path": "${HOME}/.mapscii",
+ "moveable": true,
+ "help": "Supported\n\nThe file ${HOME}/.mapscii can be moved to ${XDG_CACHE_HOME}/mapscii.\n"
+ }
+ ]
+}
--- /dev/null
+{
+ "name": "pex",
+ "files": [
+ {
+ "path": "${HOME}/.pex",
+ "moveable": true,
+ "help": "Export the following environment variables:\n\n```bash\nexport PEX_ROOT=${XDG_CACHE_HOME}/pex\n```\n"
+ }
+ ]
+}
--- /dev/null
+{
+ "name": "pylint",
+ "files": [
+ {
+ "path": "${HOME}/.pylint.d",
+ "moveable": true,
+ "help": "Export the following environment variables:\n\n```bash\nexport PYLINTHOME=${XDG_CACHE_HOME}/pylint\n```\n"
+ }
+ ]
+}
--- /dev/null
+{
+ "name": "qrcp",
+ "files": [
+ {
+ "path": "${HOME}/.qrcp",
+ "moveable": true,
+ "help": "Supported\n\nThe file ${HOME}/.qrcp can be moved to ${XDG_CONFIG_HOME}/qrcp/config.json.\n"
+ }
+ ]
+}
--- /dev/null
+{
+ "name": "racket",
+ "files": [
+ {
+ "path": "${HOME}/.racket",
+ "moveable": true,
+ "help": "Supported\n\nThe file ${HOME}/.racket can be moved to ${XDG_CONFIG_HOME}/racket.\n"
+ }
+ ]
+}
--- /dev/null
+{
+ "name": "tig",
+ "files": [
+ {
+ "path": "${HOME}/.tig_history",
+ "moveable": true,
+ "help": "Supported\n\nThe file ${HOME}/.tig_history can be moved to ${XDG_DATA_HOME}/tig/history.\n"
+ }
+ ]
+}
--- /dev/null
+{
+ "name": "weechat",
+ "files": [
+ {
+ "path": "${HOME}/.weechat",
+ "moveable": true,
+ "help": "Export the following environment variables:\n\n```bash\nexport WEECHAT_HOME=${XDG_CONFIG_HOME}/weechat\n```\nAlias weechat to use custom locations:\n\n```bash\nalias weechat=weechat -d ${XDG_CONFIG_HOME}/weechat```\n"
+ }
+ ]
+}
--- /dev/null
+{
+ "name": "xcompose",
+ "files": [
+ {
+ "path": "${HOME}/.XCompose",
+ "moveable": true,
+ "help": "Export the following environment variables:\n\n```bash\nexport XCOMPOSEFILE=${XDG_CONFIG_HOME}/X11/xcompose\n```\n"
+ },
+ {
+ "path": "${HOME}/.compose-cache",
+ "moveable": true,
+ "help": "Export the following environment variables:\n\n```bash\nexport XCOMPOSECACHE=${XDG_CACHE_HOME}/X11/xcompose\n```\n"
+ }
+ ]
+}