Skip to content

Commit

Permalink
🔨 chore: added vboxmanage alias
Browse files Browse the repository at this point in the history
  • Loading branch information
jacquindev committed Nov 30, 2024
1 parent 589dfd2 commit f250f7d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion dotposh/Config/posh-aliases.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -188,4 +188,7 @@ Add-Alias HKLM: 'Set-Location HKLM:'
Add-Alias HKCU: 'Set-Location HKCU:'

# List NPM Global Packages
Add-Alias npm-list '([string]::join(" ", ((npm ls -g --depth=0) | select -skip 1 | select -skiplast 1 | % { $_.remove(0,4) }))).Replace(" ","`r`n")'
Add-Alias npm-list '([string]::join(" ", ((npm ls -g --depth=0) | select -skip 1 | select -skiplast 1 | % { $_.remove(0,4) }))).Replace(" ","`r`n")'

# Use VBoxManage without adding it to PATH
Add-Alias vboxmanage '&"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" $args'

0 comments on commit f250f7d

Please sign in to comment.