Is there a way to favourite cli commands?

Hi,

Is there a way to favourite/star particular commands? e.g. if there is a kubectl or yq command that is particularly useful that you want to star.

Apologies if this has been asked before - couldn’t find references to “favourite” or “favorite” in github issues or here.

Many thanks

Andrew

there is not! how would you expect to recall favourited commands? some hotkey, extra ui section, boost them in search?

Those suggestions all sound good :slightly_smiling_face: . My preference might be a extra UI section (e.g. a separate panel like lazygit? or another tab next to Search/Inspect). One example where I need this is:

There are some commands that I know are useful, but don’t get run often e.g.


kubectl rook-ceph ceph osd tree
kubectl rook-ceph ceph quorum_status -f json-pretty

When I fuzzy search for these I’m typing rook-ceph then attempting to further filter

However I also run a lot of commands like this that get run more frequently:

kubectl get po -n rook-ceph -o wide
kubectl rook-ceph status

The problem is the commands I know that are “useful” get buried over time.

I’m considering using Atuin Desktop as a workaround here to capture commands I think will be useful. Another alternative could be just to prune my history to remove cruft, although that’s more time consuming.

Thanks!

In your case, i would use aliases, you could list and filter them easily with fuzzy search.

Still, some kind of tagging would be useful.

BTW, tagging could be implemented within the inspector window.

Probably not happening any time soon, of course. Atuin Desktop development will demand a lot of resources for the foreseeable future, though it is a great product already.

@blob There is a new PR, which implements tags:

And the start of a Discord discussion:
keithamus: I had a play around to try and build a tag system…

1 Like