Commit Graph

8 Commits

Author SHA1 Message Date
Gal Szkolnik f4abdf1a2d Fixed minor cross-platfrom bug in Reload-MyScripts 2020-10-03 16:23:08 -04:00
lksz 968b6c2bbb Adding common commands + Minor modifications
Reload-MyScripts modified to check for past aliases that might block it
from working.
Aliases dir created with some basic aliases
Invoke-Sudo to make sudo command line calling simpler.
2020-10-03 16:17:11 -04:00
lksz ccaaadf371 Setup fixed setup of MyPSScriptRoot (again) 2020-10-02 15:42:40 -04:00
lksz bb23d940ea Merge branch 'master' of https://code.lksz.me/lksz/PowerShell_Scripts into master 2020-10-02 13:24:35 -04:00
lksz 2d2a7bba5d System specific update
Reload-Scripts now loads Platform/OS specific scripts depending on
current state.
This required the SystemName class

sranger is an example of running ranger as sudo, but only in Linux.

Moved Get-MyAliases into Reload-MyScripts, and changed Reload-MyScripts
to load Aliases dynamically via the Aliases directory.
2020-10-02 12:45:04 -04:00
lksz 0718bf28c7 Minor midifications 2020-10-01 00:28:57 -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
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