Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

CDIR

[!IMPORTANT]
This tool is not maintained, and the repo is kept as a read-only archive. Nowadays there are better alternatives such as yazi.

This project exists because I felt that typing multiple cd, dir/ls commands and striking the tab-key is not very fast or pleasant way to navigate in shell. As developers often need to work in multiple environments, cdir supports bash shell, Windows Command Prompt and PowerShell. The core component of the project is implemented with python and uses curses module. Windows version uses windows-curses module.

cdir in action (gif)

Discussion about cdir in a Tecmint blog post:

"Yes, fix something that is not broken." -Linus Torvalds

"I agree with you. However, I just decided to try out the tool on CentOS 8 and see how it compares to running the ls and cd commands. Honestly, I like it." -James Kiarie

"Some of the greatness innovations in the world have been realized by fixing the unbroken." -Pat

See the actual discussion here https://www.tecmint.com/cdir-navigate-folders-and-files-on-linux/comment-page-1/#comment-1336160

Features

  • Use arrow keys and enter to browse files.
  • Modern and easy-to-use search functionality for folders: just start typing the name of the folder and folders are filtered by their name.
  • Supports bash shell, Windows Command Prompt and PowerShell.
  • Easy to install.

Usage - Bash

  1. Install with pip install cdir
  2. Add following line to .bashrc:
alias cdir='source cdir.sh'
  1. Type cdir and start browsing files and folders.
  2. Press f1 to quit cdir.

Usage - Windows Command Prompt

  1. Install with pip install cdir
  2. Type cdir and start browsing files and folders.
  3. Press f1 to quit cdir.

Metadata

Release files for cdir 1.4

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

Source distribution (sdist)

Source distribution for cdir 1.4
File Size Uploaded Provenance
cdir-1.4.tar.gz 8.0 kB Without provenance Details

Release files / cdir-1.4.tar.gz

Download URL cdir-1.4.tar.gz
Size 8.0 kB
Tags Source
SHA-256 checksum
How to use checksums
65f50bedb7c9860e747b190700529329245a09ce93ab2c2dd867a4824b4bd2e2
BLAKE2b-256 checksum
How to use checksums
6d31fb49ba22507cf63550ed8aaa862d3772f9b753a389935b3ef2d0b2910715
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Security for cdir 1.4

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.

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