3 ms·
You can add an alias in bash to fix this. Or type dir && ls. Your assumption is wrong. We don't "type ls after cd". Maybe a lot of times, but definitely not mos
by nayefc 14y ago
You can add an alias in bash to fix this. Or type dir && ls. Your assumption is wrong. We don't "type ls after cd". Maybe a lot of times, but definitely not most of the times. I memorize my directories from the first time I'm in that I barely need to type ls.
- jiyinyiyong 14y agoStill feeling strange that someone remembers all files and pathes. (Or maybe the habbits in China is a bit different. Even I use Bash everyday, I still want to read file list every time I enter a directory.)
- nayefc 14y agoI usually cd into the main directory I want to be in and then if I ever want to edit a file, simply typing emacs then tab for bash for auto-completion does the trick. But again, just use a bash alias :) What's the problem with that?
- jiyinyiyong 14y agoStill feeling strange that someone remembers all files and pathes. (Or maybe the habbits in China is a bit different. Even I use Bash everyday, I still want to read file list every time I enter a directory.)