4 ms·
alias ls='ls -a'
by esoterae 4y ago
alias ls='ls -a'
- dorfsmay 4y agoalias ls='ls -A' There really is no need to show "." And "..". I tend to always start with: ls -lArt
- esoterae 4y agoHow interesting (: I find myself typing a lot of `ls -dl /a/b/d/*` these days. What a strange fingerprint I imagine all our collective accumulated behaviors project about our past experiences.
- mark-r 4y agoIt's not just ls though, the shell hides them too right? echo * won't show them.
- esoterae 4y agoWell, I was being a little flippant dismissing it as largely a complaint about things not showing up in the terminal, but it's obviously deeper than that, yes. I think this overall situation is most acutely a lack of standard. Someone up in the nosebleed section rightly pointed out that there should be some environment variable for a config to be written to, and I agree. I also want to stress that there should be the inclusion of a single variable on top of that, that all programs should use when constructing the path to their configuration. USER_CONFIG_DIR or something equally arguable should, if unset, default to $HOME, and if set, be used as the root to construct whatever structure therein is desired, also able to be changed with an environment variable specific to that program. Be it filename or further subdirectory, first using a single reference that is /not overloaded/, like HOME, but defaults to HOME if unset.
- wizofaus 4y agoVery good point and arguably a bigger problem. Worth putting `shopt -s dotglob` in .bashrc to avoid. How about other shells?