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.
This commit is contained in:
lksz 2020-10-02 12:45:04 -04:00
parent 45b53dc110
commit 2d2a7bba5d
8 changed files with 150 additions and 43 deletions

2
sys.Linux/sranger.ps1 Normal file
View file

@ -0,0 +1,2 @@
Invoke-ExpressionEx -sudo "`$env:TERM='tmux-256color'; `$env:EDITOR='$env:EDITOR'; ranger"