]> glassweightruler.freedombox.rocks Git - xdg-ninja.git/blobdiff - programs/xonsh.json
Add entries from ArchWiki (#358)
[xdg-ninja.git] / programs / xonsh.json
index faa2fdd98f89465a82b2fdfad67b89ac49d1a6d6..25363fef23bd43347e35b6ea7fd47b8166fc92fb 100644 (file)
@@ -1,12 +1,12 @@
 {
     "files": [
         {
-            "help": "Alias xonsh to use a custom configuration location:\n\n```bash\nalias xonsh=\"xonsh --rc $XDG_CONFIG_HOME/xonsh/xonshrc\"\n```\n",
+            "help": "Supported by default.\n\nYou can move the directory to _$XDG_CONFIG_HOME/xonsh/rc.xsh.\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"
         }