When Powershell is one of the few applications you open on a daily basis, you might as well ease up. I've written this script to help. Get-Inspired.ps1 will write you a motivational quote that will inspire you throughout your session.
- git clone
https://github.com/LaureKamalandua/get-inspired.git
Run the script from your shell to get a random quote.
PS C:\System32\> .\Get-Inspired.ps1
***************************************************
My mama always said: life's like a box of chocolate
— you never know what you gonna get.- Forrest Gump
***************************************************
Run the Start-Init function to add the script to your Powershell profile. A new quote will be visible every time you open the shell.
PS C:\Users\User\Downloads\get-inspired\> Import-Module -Name .\Get-Inspired.ps1
PS C:\Users\User\Downloads\get-inspired\> Start-Init
The Powershell profile exists and the module will be added.
The module has been succesfully added to your profile.
If you don't have a Windows Powershell profile set up yet, I kindly point to this link.
- port to bash for UNIX users
- enhance string formatting
- enable quotes with a greater character length than 180
Built with ❤ by Laure Kamalandua
Twitter: (@laurekamalandua)
Contact: laure.kamalandua@gmail.com