Granitosaurus / xonsh-autoxsh

Automatically execute scripts for directories in Xonsh Shell.
GNU General Public License v3.0
15 stars 7 forks source link

Use xonsh data dir instead of home #7

Closed anki-code closed 3 years ago

anki-code commented 3 years ago

Hi! Great xontrib!

https://github.com/Granitosaurus/xonsh-autoxsh/blob/3ea86ecd9112dfa6aef544b51bad81abb67b590a/xontrib/autoxsh.xsh#L2-L3

It will be good:

  1. To use the value from $XONSH_DATA_DIR (i.e. /home/user/.local/share/xonsh/, it's XDG_DATA_HOME) to saving data.
  2. Name the files as xontrib_autoxsh_ignore instead of .autoxonsh_ignore to make it visible and sane.

Thanks!

anki-code commented 3 years ago

PR #8