A simple and powerful Bash script that creates files, makes them executable, and opens them in your favorite editor. Customize the script with various options to suit your needs, including support for popular editors like Vim, VS Code, Emacs, Nano, and Sublime Text.
- Create multiple files at once.
- Make files executable with a simple flag.
- Open files in your favorite editor using a quick command.
- Lightweight and easy to use.
git clone https://github.com/mxg-mega/create.git
cd create
sudo chmod +x create
Add the script to your PATH:
sudo mv create /usr/local/bin/create
We are working on making the script available via apt. Please check back soon or contribute to this process by raising an issue or pull request!
Create a file:
create filename.txt
Make a file executable:
create -x script.sh
Open in a specific editor:
create -v file.txt # Opens in VS Code
create -e file.txt # Opens in Emacs
create -n file.txt # Opens in Nano
create -s file.txt # Opens in Sublime Text
To display all available options:
create -h
We welcome contributions from the community! Here’s how you can get involved:
- Fork the Repository
- Create a new branch (git checkout -b feature-branch).
- Make your changes and commit (git commit -am 'Add new feature').
- Push to the branch (git push origin feature-branch).
- Open a pull request.
Please include a clear description of the changes and ensure that your code adheres to the project's coding style.
We maintain a CONTRIBUTORS.md file to acknowledge those who contribute to the project. Your contributions are valued and will be credited accordingly.
This project is licensed under the MIT License - see the LICENSE file for details.
- Create and open files in specified editors.
- Add more editors as options.
- Make the script available via apt package manager.
- Internationalization and localization support.
For any questions, issues, or feature requests, please open an issue on GitHub or contact us at [[email protected]].
- Inspired by the need for a quick and easy file creation and editing script.
- Thanks to all contributors who make this project better!