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:
parent
45b53dc110
commit
2d2a7bba5d
8 changed files with 150 additions and 43 deletions
2
sys.Linux/sranger.ps1
Normal file
2
sys.Linux/sranger.ps1
Normal file
|
@ -0,0 +1,2 @@
|
|||
|
||||
Invoke-ExpressionEx -sudo "`$env:TERM='tmux-256color'; `$env:EDITOR='$env:EDITOR'; ranger"
|
Loading…
Add table
Add a link
Reference in a new issue