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.
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
- 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.
- Install with
pip install cdir
- Add following line to .bashrc:
alias cdir='source cdir.sh'
- Type cdir and start browsing files and folders.
- Press f1 to quit cdir.
- Install with
pip install cdir
- Type cdir and start browsing files and folders.
- Press f1 to quit cdir.
Although there are no formal quidelines for contribution yet, it is warmly welcomed! Please use issues to discuss about changes/features you would like to make before implementing them.