From 60f4a8ec7d1776a0481ef90150aaf8823031f97d Mon Sep 17 00:00:00 2001 From: JeradCronin <117287370+Jerad551@users.noreply.github.com> Date: Tue, 24 Feb 2026 08:24:55 -0700 Subject: [PATCH] Update AddIssueCommentWithLabel.yml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://github.com/your-username/dev.oss.git. { } It looks like you're trying to set up a development environment using GitHub and some specific directories and prompts. Let's break down the steps you might need to follow to set up your development environment. ### Step 1: Set Up GitHub Repository 1. **Create a GitHub Repository**: - Go to [GitHub](https://github.com) and create a new repository. - Name it something relevant to your project, e.g., `dev.oss`. 2. **Clone the Repository**: - Open your terminal or PowerShell. - Clone the repository to your local machine: ```sh git clone https://github.com/your-username/dev.oss.git ``` ### Step 2: Set Up Directory Structure 1. **Navigate to the Repository**: ```sh cd dev.oss ``` 2. **Create Necessary Directories**: - Create a directory for your test files: ```sh mkdir src mkdir src/test_System32 ``` ### Step 3: Set Up Prompts 1. **Create Prompt Files**: - In the root directory of your repository (`dev.oss`), create a file named `.prmt_prompt`. - In the `src/test_System32` directory, create a file named `.prmt`. 2. **Add Prompt Content**: - Open `.prmt_prompt` in the root directory and add your desired prompt syntax. - Open `.prmt` in the `src/test_System32` directory and add your desired prompt syntax. ### Step 4: Configure PowerShell Prompt 1. **Edit PowerShell Profile**: - Open your PowerShell profile script. You can do this by running: ```sh notepad $PROFILE ``` - Add the following lines to your profile script to set the prompt: ```powershell function prompt { if (Test-Path .prmt_prompt) { Get-Content .prmt_prompt } elseif (Test-Path src/test_System32/.prmt) { Get-Content src/test_System32/.prmt } else { "PS $($executionContext.SessionState.Path.CurrentLocation)$('>' * ($nestedPromptLevel + 1)) " } } ``` ### Step 5: Test Your Setup 1. **Navigate to Different Directories**: - Open a new PowerShell window and navigate to different directories within your repository to see if the prompts change accordingly. 2. **Verify Prompts**: - Ensure that the prompts display the content of `.prmt_prompt` when in the root directory and `.prmt` when in the `src/test_System32` directory. ### Example Directory Structure ``` dev.oss/ ├── .prmt_prompt ├── src/ │ └── test_System32/ │ └── .prmt ``` ### Example Prompt Content **.prmt_prompt**: ```sh CND: ps. 1: test__> __>src/test_System32: prompt; .prmt_prompt __>src/test_System32: prompt; .prmt_prompt