X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/xdg-ninja.git/blobdiff_plain/6efc7cf13187ec9ae2bff84f52a0a77449625ae4..dc66bc9c3cb6103d1a7bc8a6afa8ea2dc81209fb:/programs/xonsh.json diff --git a/programs/xonsh.json b/programs/xonsh.json index ea1ba11..b871936 100644 --- a/programs/xonsh.json +++ b/programs/xonsh.json @@ -1,15 +1,15 @@ { "files": [ { - "help": "Currently unsupported. No information found.\n", - "movable": false, + "help": "Alias xonsh to use a custom configuration location:\n\n```bash\nalias xonsh=\"xonsh --rc $XDG_CONFIG_HOME/xonsh/xonshrc\"\n```\n", + "movable": true, "path": "$HOME/.xonshrc" }, { - "help": "Supported natively.\n\nYou can move the file to _XDG_DATA_HOME/oh-my-xonsh_ by adding the following to your xonshrc file:\n\n```python\n# set where oh-my-xonsh lives\nif not 'OMX_HOME' in ${...}:\n $OMX_HOME = p\"~/.oh-my-xonsh\"\n\n# clone omx if needed\nif not pf\"{$OMX_HOME}\".exists():\n git clone --depth=1 https://github.com/oh-my-xonsh/oh-my-xonsh $OMX_HOME\n\n# source oh-my-xonsh to give you the `omx` object\nsource $OMX_HOME/oh-my-xonsh.xsh\n```\n", + "help": "Supported natively.\n\nYou can move the file to _$XDG_DATA_HOME/oh-my-xonsh_ by adding the following to your xonshrc file:\n\n```python\n# set where oh-my-xonsh lives\nif not 'OMX_HOME' in ${...}:\n $OMX_HOME = p\"~/.oh-my-xonsh\"\n\n# clone omx if needed\nif not pf\"{$OMX_HOME}\".exists():\n git clone --depth=1 https://github.com/oh-my-xonsh/oh-my-xonsh $OMX_HOME\n\n# source oh-my-xonsh to give you the `omx` object\nsource $OMX_HOME/oh-my-xonsh.xsh\n```\n", "movable": true, "path": "$HOME/.oh-my-xonsh" } ], "name": "xonsh" -} \ No newline at end of file +}