DirMode is a program written in BASH that lets you surf through directories in your computer.
Warning
DirMode will only work with Linux. This will not work in any other Operating System.
DirMode is a directory surfing program that enables you to surf through different directories in your computer with just arrow keys. It solves the problem of checking different directories with cd and ls. Traditional method was very simple but doing it multiple times was annoying. To solve that problem I made a simple BASH script that led me to the idea of DirMode.
This is the step-by-step guide to install and run the project locally:
git clone https://github.com/SyntaxCorporation/dirmode.git
cd dirmodechmod +x install.sh
./install.shUsing DirMode is very simple. All we have to do is to type dirmode in terminal and press enter:
dirmodeIt has different built-in commands. Each performs a particular task:
| Commands | Use |
|---|---|
| :q | Quit the program |
| :la | Shows dot files |
| :ls | Hide dot files |
| :mf | Shows only files |
| :md | Shows only directories |
| :mx | Shows only executable files |
| :ms | Shows only symlinks |
| :ma | Removes filter |
| :rf | Refreshes screen in case of any mess |
| :i or :j | Jumps to directory or files in a long list Example: :i5,:j15 |
It has multiple useful features such as:
- Check different directories
- Open files
- Filter the list of contents in a directory
- Create files and directories
- Give and take permissions from a file
- Has a simple TUI
- Navigate through arrow keys
Contributions are welcome and encouraged. This project improves through community input, whether small fixes or substantial enhancements.
-
Report bugs
Clearly describe the issue, expected behavior, and steps to reproduce. -
Suggest improvements
Propose better approaches, optimizations, or new features. -
Submit pull requests
Fix issues, improve documentation, or add functionality. -
Review code
Provide constructive feedback on open pull requests. -
Enhance documentation
Clarify existing content or add missing details.
- Keep changes focused and well-documented.
- Follow existing code style and structure.
- Write meaningful commit messages.
- Test your changes before submitting.
- Fork the repository
- Create a new branch (
feature/your-featureorfix/issue-name) - Make your changes
- Commit your changes (
git commit -m "Add feature") - Push to your branch (
git push origin your-branch) - Open a Pull Request with a clear description
Every contribution matters. Even small improvements add value.
DirMode is licensed under Apache-2.0 License. See the LICENSE for more information.
📧 E-mail: blackhydra.developer@gmail.com 💻 Github: github.com/SyntaxCorporation