To release the lock on the current directory whenever the prompt is shown in xonsh shell. Windows only xontrib.
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file xontrib-free-cwd-0.0.1.tar.gz.
File metadata
- Download URL: xontrib-free-cwd-0.0.1.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a0908ff73199e0df2f03931ddcb2aa02d83199bad48eba269a5d927d5d6c9a6f
|
|
| MD5 |
98d9376c1cf821a6d24b8ff25fe6d913
|
|
| BLAKE2b-256 |
bbdd53e697cf19cf163a1413387f4975fc9933b30248346ddbccb3038e3e9bcc
|
File details
Details for the file xontrib_free_cwd-0.0.1-py3-none-any.whl.
File metadata
- Download URL: xontrib_free_cwd-0.0.1-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
48105c5ceae8798f1bae02c19fa823d0f1735b9937ed0880c5d4ffa909302d13
|
|
| MD5 |
5f6b4ef1848b6902f1a825396535e346
|
|
| BLAKE2b-256 |
b277767dd22ce8b3ec634b3fc5036b9476a725cc0ebb57929f544cfe20f45e0a
|