Re:Performance of nnn vs. ls
by jandrese on Tuesday May 07, 2019 @01:49PM
(#19851742)
I alias 'ls' to 'd' when I'm setting up an environment.
[ Parent
| on HN ]
Do 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?Just 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.
Re:Performance of nnn vs. ls
by mandriva2001 on Tuesday May 07, 2019 @03:41PM
(#19852749)
It was the default since Mandriva/Linux Mandrake 6.2 too!
Why not just use a console file manager, like mc?
`nnn` is a console file manager.
Re:Performance of nnn vs. ls
by SonOfLilit on Sunday May 12, 2019 @09:45PM
(#19895866)
`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).