Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/radnus321/scripts
https://github.com/radnus321/scripts
Last synced: 25 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/radnus321/scripts
- Owner: radnus321
- Created: 2024-12-09T18:19:05.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-12-09T18:50:10.000Z (about 1 month ago)
- Last Synced: 2024-12-09T19:26:07.304Z (about 1 month ago)
- Language: Shell
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# scripts
Automate the opening of projects using a simple script and alias.
## Requirements
### 1. Repository Setup
Clone this repository into your Desktop directory:
```bash
git clone https://github.com/radnus321/scripts.git ~/Desktop/scripts
```### 2. Shell Configuration
Add the following alias to your shell configuration file (`.zshrc` or `.bashrc`):
```bash
alias run="~/Desktop/scripts/main.zsh"
```## Usage
1. Save individual project scripts in:
```
~/Desktop/scripts/[your_script].zsh
```2. Create a new project script:
```bash
touch ~/Desktop/scripts/my_project.zsh
```3. Make it executable:
```bash
chmod +x ~/Desktop/scripts/my_project.zsh
```4. Run the project from any location:
```bash
run my_project
```## Notes
- Ensure your scripts are located in `~/Desktop/scripts/`
- Scripts must have a `.zsh` extension
- The `main.zsh` script handles script execution