3 ms·
I alias 'ls' to 'd' when I'm setting up an environment.
by jandrese 8y ago
I alias 'ls' to 'd' when I'm setting up an environment.
- eindiran 8y agoDo you mean that you have an alias like this: alias d='ls' Or is there a program called `d` that is a faster version of `ls` that you're aliasing `ls` to?
- jandrese 8y agoJust an alias. I figure I could use a single letter command for something I do like 1/3 of the time on the commandline, especially since it's on the opposite hand from the enter key. ls is actually pretty well optimized for an QWERTY layout already so it's not a big win, but it's something I've been doing for 25 years now so the habit is well ingrained. Usually the alias is now: alias d="ls -F --color=auto" on Linux systems.
- mandriva2001 8y agoIt was the default since Mandriva/Linux Mandrake 6.2 too!
- v_lisivka 8y agoWhy not just use a console file manager, like mc?
- apjana 8y ago`nnn` is a console file manager.
- SonOfLilit 8y ago`d` is taken by the much more important command `git diff`. I don't even have an alias for `ls`, I seldom use it, I mostly run `s` (which is an alias of `git status` of course).