Skip to main content

A faster way to navigate folders and browse files in Windows and Linux shells.

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cdir-1.4.tar.gz (8.0 kB view details)

Uploaded Source

File details

Details for the file cdir-1.4.tar.gz.

File metadata

  • Download URL: cdir-1.4.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for cdir-1.4.tar.gz
Algorithm Hash digest
SHA256 65f50bedb7c9860e747b190700529329245a09ce93ab2c2dd867a4824b4bd2e2
MD5 81b8c26a588de5603c051d21b77aafa9
BLAKE2b-256 6d31fb49ba22507cf63550ed8aaa862d3772f9b753a389935b3ef2d0b2910715

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page