startup.mp4
A PowerShell script designed to automate your terminal workspace setup by automatically creating terminal windows, splitting panes, and resizing them to boost your efficiency.
- 🖥️ Automated Window Creation: Instantly creates new terminal window tailored to your workflow.
- 🪟 Pane Management: Splits panes within a terminal window, allowing for organized multitasking.
- 📏 Resizing Panes: Adjusts the size of each pane to optimize visibility and usability.
- 🚀 Enhanced Productivity: Streamlines your workspace setup, saving time and reducing manual steps.
- PowerShell: Ensure you have PowerShell installed on your machine. This only workis in powershell.
- Windows Terminal: The script is designed to work with the Windows Terminal app.
-
📂 Clone the Repository:
git clone https://github.com/sszabo11/Powershell-Workflow-script.git cd Powershell-Workflow-script
-
📜 Edit PowerShell config:
- In the terminal write:
notepad $PROFILE # This opens your profile config in notepad
- Then: Paste in the following:
function startup { & "C:\your\path\to\repo\startup.ps1" echo "Ok" exit # Make sure to change `your\path\to\repo` with the actual path to this repo you cloned }
- Finally: Save the notepad file
- Type
Ctrl+S
and make sure you save it intoC:\Users\<YourUsername>\Documents\WindowsPowerShell
- Type
- In the terminal write:
-
Now go back into the terminal and write
startup
- You should now see it doing its thing!!
- This is only a quick script I created for myself so I can use neovim in the top pane and terminal in the bottom pane
- Feel free to edit this to your liking
- And I am no powershell expert, this was my first time writing a powershell script