mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 00:33:00 +00:00
Update WSL zshrc
This commit is contained in:
parent
3c335539a5
commit
aab1694198
2 changed files with 9 additions and 23 deletions
|
|
@ -22,9 +22,8 @@ Set-Alias "pwshcfg" "shcfg"
|
|||
# ${function:clang++} = { clang -std=c++2b $args[0] }
|
||||
|
||||
# WSL #
|
||||
${function:wsl1} = {wsl.exe --distribution Debian}
|
||||
${function:wsl1} = {wsl.exe --distribution Arch}
|
||||
${function:wsl2} = {wsl.exe --distribution Ubuntu-22.04}
|
||||
New-PSDrive -Name WSL -PSProvider FileSystem -Root \\wsl.localhost\Ubuntu-22.04
|
||||
|
||||
# Search Software #
|
||||
function Find-AppPackageListRemote {
|
||||
|
|
@ -41,7 +40,7 @@ function Find-AppPackageListRemote {
|
|||
Write-Host "=== choco ==="
|
||||
choco search $Name
|
||||
}
|
||||
Set-Alias "pkgsearch" "Get-AppPackageListRemote"
|
||||
Set-Alias "pkgsearch" "Find-AppPackageListRemote"
|
||||
function Get-AppPackageListLocal {
|
||||
winget list
|
||||
choco list
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue