automatically ls when cd

This commit is contained in:
Morgan Wattiez 2019-08-08 20:11:20 +02:00
parent 174acea0fe
commit e174170a45

View File

@ -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
}