Skip to main content

To release the lock on the current directory whenever the prompt is shown in xonsh shell. Windows only xontrib.

If you like the idea click ⭐ on the repo and tweet.

Installation

To install use pip:

xpip install xontrib-free-cwd
# or: xpip install -U git+https://github.com/xonsh/xontrib-free-cwd

Usage

xontrib load free_cwd

Enabling this will allow other programs or Windows Explorer to delete or rename the current or parent directories. Internally, it is accomplished by temporarily resetting CWD to the root drive folder while waiting at the prompt.

Known issues

This only works with the prompt_toolkit backend and can cause issues if any extensions are enabled that hook the prompt and relies on os.getcwd().

Credits

This package was created with xontrib template.

Metadata

Release files for xontrib-free-cwd 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for xontrib-free-cwd 0.0.1
File Size Uploaded Provenance Actions
xontrib-free-cwd-0.0.1.tar.gz 4.0 kB Without provenance Details for xontrib-free-cwd-0.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for xontrib-free-cwd 0.0.1
File Interpreter ABI Platform Actions
xontrib_free_cwd-0.0.1-py3-none-any.whl Python 3 none any Details for xontrib_free_cwd-0.0.1-py3-none-any.whl

Total release size: 8.5 kB

Release files / xontrib-free-cwd-0.0.1.tar.gz

Download URL xontrib-free-cwd-0.0.1.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
a0908ff73199e0df2f03931ddcb2aa02d83199bad48eba269a5d927d5d6c9a6f
BLAKE2b-256 checksum
How to use checksums
bbdd53e697cf19cf163a1413387f4975fc9933b30248346ddbccb3038e3e9bcc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Release files / xontrib_free_cwd-0.0.1-py3-none-any.whl

Download URL xontrib_free_cwd-0.0.1-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
48105c5ceae8798f1bae02c19fa823d0f1735b9937ed0880c5d4ffa909302d13
BLAKE2b-256 checksum
How to use checksums
b277767dd22ce8b3ec634b3fc5036b9476a725cc0ebb57929f544cfe20f45e0a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Security for xontrib-free-cwd 0.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page