Commit Graph

12 Commits

Author SHA1 Message Date
lksz 0718bf28c7 Minor midifications 2020-10-01 00:28:57 -04:00
lksz 45b53dc110 Minor auto-complete cosmetics 2020-09-30 17:43:36 -04:00
Gal Szkolnik dc9f29f471 Setup-Profile fixes + Edit-TextFile fixes
Setup-Profile: GitClone verbosity
Fixed: Existing $profile code will not be overwritten,
   instead profile code will be inserted before existing code.
Fixed: status message is reflected correctly:
  * Setup (replace/append)
  * Init (file created)
  * Clenaup (removal of code / deletion)
When profile code is removed, a placeholder remains behind,
  this will allow correct replacement if another setup is performed

Edit-TextFile:
Switched to Invoke-ExpressionEx for sudo invocation.
2020-09-30 16:43:07 -04:00
lksz 7117e78a7a GitClone fix
GitClone will work even when Scripts dir already exist
2020-09-30 11:30:28 -04:00
lksz 607fff132f Mending Broken Windows #2
Editor, no Remove-Alias before PowrShell Core.
IValidateSetValuesGenerator missing before PowerShell Core
2020-09-30 00:14:51 -04:00
Gal Szkolnik 586f187346 Fixing Windows Setup 2020-09-29 19:51:48 -04:00
lksz a4bdd9c9a5 Added Edit-TextFile 2020-09-29 16:50:19 -04:00
lksz ae07e06c27 Setup-Profile and co.
Setup-Profile included, read all about it at
https://blog.lksz.me/the-profile-and-setting-it-up
When running Edit-MyScript without parameters, the $MyPSScriptRoot path
will be sent (editing the directory)
Added ability to edit scripts with Edit-MyPrfiles, making editing
profiles alongside scripts easy.
2020-09-25 01:30:21 -04:00
lksz 06052cfa29 Reload-MyAliases is now Reload-MyScripts
🔖 https://blog.lksz.me/editing-with-ease/

✏️ Fixed $MyPSScriptRoot typo
 Get-ScopeDepth
🐛 Get-MyAliases didn't work correctly when sub-scoped, fixed the issue
🚚 Reload-MyAliases is now Reload-MyScripts
🐛 Reload-MyScripts loads scripts from $MyPSScriptRoot/profile.d subdir
📝 README updated to reflect change of script name and typo
2020-09-18 15:56:40 -04:00
lksz bb2488e591 Added a call to Reload-MyAliases 2020-09-16 15:24:19 -04:00
Lockszmith bfb2e38cc0 MyAliases management
 Get-MyAliases, Reload-MyAliases
📝🕸 https:/blog.lksz.me/a-case-of-sensitivity/
2020-09-16 14:40:30 -04:00
lksz e054a0c518 Initial commit 2020-09-16 10:56:03 -04:00