Created
March 16, 2020 19:44
-
-
Save vadim-kovalyov/9d047da2f9c10bc3af227f2fe7f31f2f to your computer and use it in GitHub Desktop.
PowerShell profile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function global:up { pushd ..\$args } | |
function global:up1 { pushd ..\$args } | |
function global:up2 { pushd ..\..\$args } | |
function global:up3 { pushd ..\..\..\$args } | |
function global:up4 { pushd ..\..\..\..\$args } | |
function global:up5 { pushd ..\..\..\..\..\$args } | |
function global:up6 { pushd ..\..\..\..\..\..\$args } | |
function global:up7 { pushd ..\..\..\..\..\..\..\$args } | |
function global:up8 { pushd ..\..\..\..\..\..\..\..\$args } | |
function global:up9 { pushd ..\..\..\..\..\..\..\..\..\$args } | |
Set-Alias .. up1 -scope Global | |
Set-Alias ... up2 -scope Global | |
Set-Alias .... up3 -scope Global | |
Set-Alias ..... up4 -scope Global | |
Set-Alias ...... up5 -scope Global | |
Set-Alias ....... up6 -scope Global | |
Set-Alias ........ up7 -scope Global | |
Set-Alias ......... up8 -scope Global | |
Set-Alias .......... up9 -scope Global |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment