Skip to main content

Better aliases['..'] = 'cd ..'

Installation

To install use pip:

xpip install xontrib-dotdot
# or: xpip install -U git+https://github.com/yggdr/xontrib-dotdot

Usage

This xontrib will get loaded automatically for interactive sessions. To stop this, set

$XONTRIBS_AUTOLOAD_DISABLED = {"dotdot", }

Now going up in directories can be simply done by chaining dots:

% pwd
/some/deep/nested/directory/structure/I/want/to/leave
$ .....
$ pwd
/some/deep/nested/directory/structure/

The first two dots takes you to the parent, any further dot will go up one more.

Dots and commas can be freely mixed, the above example could've also been achieved by typing ..,,.. This behaviour can be changed by setting the $XONTRIB_DOTDOT_COMMA environment variable to False

Credits

This package was created with xontrib template.

Metadata

Release files for xontrib-dotdot 0.1.0

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-dotdot 0.1.0
File Size Uploaded Provenance Actions
xontrib-dotdot-0.1.0.tar.gz 3.1 kB Without provenance Details for xontrib-dotdot-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for xontrib-dotdot 0.1.0
File Interpreter ABI Platform Actions
xontrib_dotdot-0.1.0-py3-none-any.whl Python 3 none any Details for xontrib_dotdot-0.1.0-py3-none-any.whl

Total release size: 6.8 kB

Release files / xontrib-dotdot-0.1.0.tar.gz

Download URL xontrib-dotdot-0.1.0.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
4534fea22b494908421ef49fec3755e090e6e6349ecde1bdda9e2152a4c88dd1
BLAKE2b-256 checksum
How to use checksums
cf9a34589d7fd0680e5197b51d9a645c12e77dc10cfe8a32a0efe23161a06cb8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.19

Release files / xontrib_dotdot-0.1.0-py3-none-any.whl

Download URL xontrib_dotdot-0.1.0-py3-none-any.whl
Size 3.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
064673b071ad084856b93a273a5adf2967a0502e1f963a981145578df404c0f1
BLAKE2b-256 checksum
How to use checksums
c0a7e3a9ba64944094d75b12b2c446e1a0d5ee87e595ca54333268e67a376de2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.19

Security for xontrib-dotdot 0.1.0

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.1.0 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