Created
January 13, 2019 19:52
-
-
Save dariusz-wozniak/433173c0148d767c0994895f4dec2158 to your computer and use it in GitHub Desktop.
Set location with child item (cd + ls)
This file contains hidden or 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
# TIP: You may also use: cd ..; ls | |
function Set-LocationWithChildItem | |
{ | |
param($path) | |
cd $path; ls | |
} | |
Set-Alias ccd Set-LocationWithChildItem -Force |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment