157
Permanently Deleted (reddthat.com)
submitted 11 months ago* (last edited 10 months ago) by PumpkinDrama@reddthat.com to c/linux@lemmy.ml

Permanently Deleted

you are viewing a single comment's thread
view the rest of the comments
[-] kevin@mander.xyz 54 points 11 months ago* (last edited 11 months ago)

Yes. The only things I use regularly that aren't aliased to or replaced by a rust-built tool are mkdir, ln, and rsync.

  • cd: zoxide
  • ls: eza
  • cat: bat
  • grep: ripgrep
  • find: fd
  • sed: sd
  • du: dust
  • top/htop: btm
  • vi: helix
  • tmux: zellij (or wezterm mux)
  • diff: delta
  • ps: procs

Probably some others I'm forgetting

[-] sxan@midwest.social 16 points 11 months ago* (last edited 11 months ago)

I have a strong bias for staying with tools that are installed by default. After this many years working with new systems of my own, containers, and systems where I'm not root, the added value of an alternativehas to be quite high for me to switch a core utility.

Thay said, I've found fd, ripgrep, and helix to meet that criteria. The others, not so much; they either don't improve upon or add functionality that's not available, or simply add eye candy. Gaining pretty colors is nice, but not worth losing familiarity with ubiquitous tools.

git-delta is an exception where the syntax highlighting can make a functional difference in code diffs. Not so much that I think about installing it, or using it outside of indirect VCS configuration, but it is a good example of using style for more than just eye candy. I prefer difftastic, but they do much the same.

While it's not a replacement for an existing tool and isn't in your list, nnn is very helpful in many cases, especially bulk renames and reorganizations.

[-] dino@discuss.tchncs.de 1 points 11 months ago

While it’s not a replacement for an existing tool and isn’t in your list, nnn is very helpful in many cases, especially bulk renames and reorganizations.

Can you give an example on the reorganization benefits with nnn? I am using it myself but I still feel like a noob with it.

[-] sxan@midwest.social 2 points 11 months ago

So, I did a whole asciinema demonstration to show you, but it was getting tedious. It started to turn into a whole tutorial, and I really didn't want to go there. That's why it's taken so long for me to reply.

But there are three things I do with nnn:

  • move things. I use the tabs (1-4) to open different directories, space-select multiple items, and 'v' to move selected items to directories
  • bulk rename. Again, space-select and ctrl-r to bulk rename. Often, I don't even select, I just 'R' to bulk rename the whole directory. This opens my text editor with all of the file/Dir names; edit freely, save, exit, and nnn renames whatever changed.
  • move/copy to remote locations. With 'c' nnn can mount a remote directory over ssh in a tab, and it works just like a local directory, with copying, moving, and renaming seamlessly between tabs.

I don't "live" in nnn; it's a tool I open when I want to do certain things - it's fast enough to use this way. But you certainly could, since nnn can fork shell processes in selected directories.

[-] dino@discuss.tchncs.de 1 points 11 months ago

The last point is new to me, will check it out, thank you!

load more comments (4 replies)
load more comments (14 replies)
this post was submitted on 30 Oct 2023
157 points (89.4% liked)

Linux

47820 readers
1164 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS