mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 16:53:00 +00:00
15 lines
No EOL
728 B
PowerShell
15 lines
No EOL
728 B
PowerShell
# ${function:~} = { Set-Location -Path ~ } cd is better
|
|
${function:...} = { Set-Location -Path ..\.. }
|
|
${function:....} = { Set-Location -Path ..\..\.. }
|
|
${function:.....} = { Set-Location -Path ..\..\..\.. }
|
|
${function:......} = { Set-Location -Path ..\..\..\..\.. }
|
|
|
|
# Absolute navigation
|
|
${function:docs} = { Set-Location -Path ~/Documents }
|
|
${function:down} = { Set-Location -Path ~/Downloads }
|
|
${function:dt} = { Set-Location -Path ~/Desktop }
|
|
${function:mytmp} = { Set-Location -Path ~/Temp }
|
|
${function:one} = { Set-Location -Path ~/OneDrive }
|
|
${function:doku} = { Set-Location -Path ~/doku && Get-ChildItem }
|
|
|
|
Invoke-Expression (& { (zoxide init powershell | Out-String) }) |