Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@dariusz-wozniak
Created January 13, 2019 19:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dariusz-wozniak/433173c0148d767c0994895f4dec2158 to your computer and use it in GitHub Desktop.
Save dariusz-wozniak/433173c0148d767c0994895f4dec2158 to your computer and use it in GitHub Desktop.
Set location with child item (cd + ls)
# 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