For fish, use alias cd 'cd $argv[1] && ls'
.
this post was submitted on 18 Feb 2022
8 points (90.0% liked)
Funny: no such file or directory
436 readers
1 users here now
Memes about Linux and other open source projects
founded 5 years ago
MODERATORS
I never thought of doing that, thank you for the idea.