Skip to content

Instantly share code, notes, and snippets.

@akumbhani66
Created December 23, 2019 09:54
Show Gist options
  • Save akumbhani66/d2103ce4d61a9130b0ab1020bc076f80 to your computer and use it in GitHub Desktop.
Save akumbhani66/d2103ce4d61a9130b0ab1020bc076f80 to your computer and use it in GitHub Desktop.
Alias that will execute ls command immediately after cd command. To save time and one command.
// Put following function in to your .zshrc and ls -a will going to execute right away after cd.
function chpwd() {
emulate -L zsh
ls -a
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment