diff --git a/dot_zsh_functions b/dot_zsh_functions index 8369dc2..43d65d5 100644 --- a/dot_zsh_functions +++ b/dot_zsh_functions @@ -106,3 +106,7 @@ function skip { function biggerthan() { find . -size "+$*" -type f -print0 | xargs -0 ls -Ssh | sort -z } +# To automatically ls when changing directory +function cd() { + builtin cd "$@" && ls -latr +}