AstraLuma / xontrib-z

Tracks your most used directories, based on 'frecency'.
GNU General Public License v3.0
24 stars 16 forks source link

__xonsh_env__ is now __xonsh__.env From xonsh 0.8.x #12

Closed vaaaaanquish-xx closed 5 years ago

vaaaaanquish-xx commented 5 years ago

Hi

__xonsh_env__ has been deprecated from xonsh 0.8.0. https://github.com/xonsh/xonsh/blob/7fbf172b5e227ac23aa950b624006f37671c6d01/CHANGELOG.rst

So, The following alert will continue always.

xonsh/built_ins.py:1455: DeprecationWarning: __xonsh_env__ has been deprecated, please use __xonsh__.env instead.
  DeprecationWarning,
+------------------+---------------------+
| xonsh            | 0.8.0               |
| Git SHA          | aca294b8            |
| Commit Date      | Oct 7 09:53:16 2018 |
| Python           | 3.6.3               |
| PLY              | 3.9                 |
| have readline    | True                |
| prompt toolkit   | 2.0.5               |
| shell type       | prompt_toolkit2     |
| pygments         | 2.2.0               |
| on posix         | True                |
| on linux         | True                |
| distro           | CentOS Linux        |
| on darwin        | False               |
| on windows       | False               |
| on cygwin        | False               |
| on msys2         | False               |
| is superuser     | False               |
| default encoding | utf-8               |
| xonsh encoding   | utf-8               |
| encoding errors  | surrogateescape     |
+------------------+---------------------+
vaaaaanquish-xx commented 5 years ago

Oh, Sorry. I have not seen this pull request. https://github.com/astronouth7303/xontrib-z/pull/11

Niedzwiedzw commented 5 years ago

how to fix this? I still have it :)

AstraLuma commented 5 years ago

make sure to update xontrib-z

Niedzwiedzw commented 5 years ago

yeah the problem is I don't know how to manage (update, disable) xontrib. If there is something bout it in the docs, it's well hidden :)

scopatz commented 5 years ago

@Niedzwiedzw - It really depends on how you got the xontrib in the first place. You should use the same package manager that you used originally to install it.

Niedzwiedzw commented 5 years ago

I used git clone + setup.py install

AstraLuma commented 5 years ago

then you should update your git repo and rerun install.

or follow the documented instructions and install with pip.

Niedzwiedzw commented 5 years ago

how do I uninstall a xontrib?