Y
Hacker News
new
|
ask
|
show
|
jobs
by
gnubardt
5600 days ago
Another time saver is to have a function that calls ls after cd'ing:
c(){ cd "$@" && ls;}
This has probably saved me days over the years, as I almost always want to list a directory after I change into.
1 comments
l0nwlf
5600 days ago
Silly me. I almost always do the same, but never thought of creating a function. Thanks anyways. :D
link