automatically ls when cd
This commit is contained in:
parent
174acea0fe
commit
e174170a45
@ -106,3 +106,7 @@ function skip {
|
|||||||
function biggerthan() {
|
function biggerthan() {
|
||||||
find . -size "+$*" -type f -print0 | xargs -0 ls -Ssh | sort -z
|
find . -size "+$*" -type f -print0 | xargs -0 ls -Ssh | sort -z
|
||||||
}
|
}
|
||||||
|
# To automatically ls when changing directory
|
||||||
|
function cd() {
|
||||||
|
builtin cd "$@" && ls -latr
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user