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.
This commit is contained in:
parent
38aa7720de
commit
968b6c2bbb
11 changed files with 41 additions and 6 deletions
4
sys.Linux/ls.ps1
Normal file
4
sys.Linux/ls.ps1
Normal file
|
@ -0,0 +1,4 @@
|
|||
$local:params = $args -join ' '
|
||||
if( -not $params ) { $params = '-la' }
|
||||
/usr/bin/env ls $params
|
||||
|
|
@ -1,2 +1 @@
|
|||
|
||||
Invoke-ExpressionEx -sudo "`$env:TERM='tmux-256color'; `$env:EDITOR='$env:EDITOR'; ranger"
|
||||
Invoke-ExpressionEx -sudo "`$env:TERM='tmux-256color'; `$env:EDITOR='$env:EDITOR'; ranger $args"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue