Skip to content

Instantly share code, notes, and snippets.

@mim-Armand
Created August 23, 2016 17:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mim-Armand/3fda9914b60cd98da92c6df7ca63bc4d to your computer and use it in GitHub Desktop.
Save mim-Armand/3fda9914b60cd98da92c6df7ca63bc4d to your computer and use it in GitHub Desktop.
An startup script for my conemu
-cur_console:t:'GIT' bash
-new_console:s1T50V -cur_console:t:"2b" powershell -NoExit -command [enum]::GetValues([System.ConsoleColor]) | Foreach-Object {Write-Host $_ -ForegroundColor $_}; cd desktop; netstat 333;
-new_console:s1T50H -cur_console:t:"3b" powershell -NoExit -command Write-Output 'Good morining mim!' -v; Write-Warning 'Main PS console'; $colors = $host.PrivateData; $colors.VerboseForegroundColor = 15; $colors.VerboseBackgroundColor = 9;$colors.WarningForegroundColor = 14; $colors.WarningBackgroundColor = 2; $colors.ErrorForegroundColor = 15; $colors.ErrorBackgroundColor = 12; cd desktop;
-new_console:s2T50H -cur_console:t:"4b" far C:/Users/mim/Desktop
-new_console:s2T50H -cur_console:t:"W1" powershell -NoExit -command Write-Verbose 'Goodmorining mim!' -v; $console = $host.UI.RawUI;$console.ForegroundColor = 15;$console.BackgroundColor = 1; start-sleep 3; $colors = $host.PrivateData; $colors.VerboseForegroundColor = 15; $colors.VerboseBackgroundColor = 9;$colors.WarningForegroundColor = 14; $colors.WarningBackgroundColor = 2; $colors.ErrorForegroundColor = 15; $colors.ErrorBackgroundColor = 12; cd desktop; Write-Warning 'Use this for watch purposes'; Write-Verbose 'Like npm run jsx:w in our FE project for instance!' -v;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment