News for hackers. Stuff that matters.
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.
Re:Performance of nnn vs. ls by eindiran on Tuesday May 07, 2019 @02:10PM (#19851939)
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?
Re:Performance of nnn vs. ls by jandrese on Tuesday May 07, 2019 @03:14PM (#19852492)
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!
Re:Performance of nnn vs. ls by v_lisivka on Tuesday May 07, 2019 @04:52PM (#19853332)
Why not just use a console file manager, like mc?
Re:Performance of nnn vs. ls by apjana on Tuesday May 07, 2019 @04:57PM (#19853377)
`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).