this post was submitted on 15 Jul 2023
19 points (91.3% liked)

Selfhosted

60482 readers
695 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 3 years ago
MODERATORS
 

I just discovered this. Sync's your shell history between multiple servers. You can use their free, open source server (your history is encrypted) or run your own server.

No affiliation with the project, just thought it looked useful!

Atuin is a command-line tool that enables you to make better use of your shell, by giving ctrl-r superpowers.

Every line you write is stored - ready to be queried and run again at any point, from any machine you wish. Never forget again!

Sync your history between all of your machines, and search it from anywhere

top 7 comments
sorted by: hot top controversial new old
[–] Awwab@kbin.social 5 points 3 years ago

This is pretty cool, make sure you go to the GitHub for it to grab the docker compose file if you want to self host since most of the documentation seems to default to the hosted version.

[–] beeb@lemm.ee 2 points 3 years ago (1 children)

Been using this for a few months and now I don't know how I lived without it before.

[–] Adda@lemmy.ml 2 points 2 years ago

Exactly the same happened to me. It just feels so natural. I run basically every single command with the Atuin up key. It is faster then typing it all again and again. Atuin is what the history search in terminal should have always been.

[–] realz@lemmy.world 0 points 3 years ago (1 children)

Can’t wait to accidentally run rm -fr

[–] YonatanAvhar@programming.dev 1 points 3 years ago* (last edited 3 years ago)

I made my shell (fish) auto-delete invocations of rm from my history when I run them so I never get autocomplete from past rms

https://github.com/yonatan8070/dotfiles/blob/1f3edcedbc6863317fe6eb4df8acb14123fcb00a/fish/.config/fish/functions/prompt.fish#L25C1-L25C1

[–] realz@lemmy.world 0 points 3 years ago (1 children)

Can’t wait to accidentally run rm -fr

[–] outcide@lemmy.world 1 points 3 years ago

A friend's pet ferret jumped onto my keyboard once, right as I was typing rm -rf /... on a work machine ... exciting!

load more comments
view more: next ›