Hacker News new | ask | show | jobs
by ilaksh 898 days ago
Has anyone who uses fish shell compared that to Atuin? I suspect that having my entire shell history accessible might not really be necessary.
5 comments

Was curious if a comment about fish would be here.

With fish's own autocomplete I get most of what I need. Add fzf to search the history (ctrl-r), and it's highly comparable to the post topic.

I have the same question. Lots of comments here from people hand rolling complex solutions to what it seems like fish does out of the box. Commands per directory, partial completions. Heck there’s even an embedded web server ui for searching and manipulating the history.

Multi device sync is not there without some effort but I don’t really care to mix my personal history with my work machines anyway.

> Multi device sync is not there without some effort but I don’t really care to mix my personal history with my work machines anyway.

Yep, obviously there are many benefits to per-device history, but I think I'd find it more annoying having it synced between devices, especially if there are commands that either won't work on a particular machine or might even be dangerous in a different environment.

I use fish with atuin

I only map atuin to ctrl+r and use fish's native up arrow search for simpler stuff

Fish has smoother usability, autocompletion and search. It is useful on fresh machine in vanilla configuration. Installing bash plugins is not always possible. Installing some sync plugin on sensitive server is nono!

Also my biggest problem with bash, sometimes it does not keep part of recent history, if bash process gets killed. Fish does not have this problem.

I usually keep useful commands in notes, and sync my notes instead.

atuin does not sync by default (and in fact I have never used it with sync).
I use fish's own completion (the dim text that appears after you type) for most stuff. I also use the fish up arrow search instead of Atuin like this: atuin init fish --disable-up-arrow

Atuin is there when I need to find something more complex I remember doing 3 months ago and could actually repurpose today.