Video není dostupné.
Omlouváme se.

Atuin Has Forever Changed The Way I Use Command History

Sdílet
Vložit
  • čas přidán 18. 08. 2024

Komentáře • 60

  • @elliehuxtable
    @elliehuxtable Před měsícem +35

    Hey! Atuin maintainer here, thanks for sharing my work - really liked your video!
    Glad it’s all been working well for you. Totally understand what you mean about the UI style, we are actually going to be making the compact view the default in v18.4 :)

    • @devopstoolbox
      @devopstoolbox  Před měsícem +3

      @@elliehuxtable amazing work! Waiting to see what comes out :)

  • @RazoBeckett.
    @RazoBeckett. Před měsícem +23

    nice tool bit overkill for me

  • @zehph
    @zehph Před měsícem +11

    Radical idea: save the zsh histfile to your self hosted cloud storage and alias the bugger on your machine with your initial setup script for a new box and keep using fzf for a consistent tooling across use cases

    • @devopstoolbox
      @devopstoolbox  Před měsícem +6

      I'm lucky I have a kid taking up all my weekend time otherwise I'd be doing this

    • @zehph
      @zehph Před měsícem +2

      @@devopstoolbox fair enough 😂
      Hang in there soldier! 💪

    • @armynyus9123
      @armynyus9123 Před měsícem

      thought about the same. Until I test installed this tool and hit ctrl-r. (called filter_mode in their docs...)
      with *my* skill issues this would prbly be not just the saturday...

    • @homfes
      @homfes Před měsícem

      histSearch() {
      local answer
      fc -R
      local runline="$(history 2000 | cut -c 8- | fzf --height 30 2>/dev/tty)"
      # remove all calls of this function from history file
      sed -i '/histSearch/d' $HISTFILE
      if [[ $runline != "" ]]; then
      #copy line into clipboard
      echo $runline | xclip -sel clip
      #confirm before running the commmand and insert command into the history file
      echo $runline
      echo -ne "run? [y/n] "
      read -q answer
      if [[ $answer = "y" ]]; then
      eval $runline
      fi
      fi
      }

    • @devopstoolbox
      @devopstoolbox  Před měsícem

      @@zehph 😅

  • @typecraft_dev
    @typecraft_dev Před měsícem +10

    this looks amazing! love the TUI

    • @devopstoolbox
      @devopstoolbox  Před měsícem +1

      It is! But beyond the user interface, the persistency with a local DB is so sweet

    • @threee1298
      @threee1298 Před měsícem +3

      the two of you are like 90% of the reason I’m still using nvim

    • @typecraft_dev
      @typecraft_dev Před měsícem +1

      @@threee1298 hell yeah brother

  • @jhonyortiz5
    @jhonyortiz5 Před měsícem +8

    Okay, as the vim user that you are, it's a crime that you didn't mention that atuin has vim key bendings. They do have to be abled I think. But honestly the part I love about atuin the most is that it makes shell functions available to bring up either the session, workstation, etc, history. So for example I have also set-up fish with vim key bindings and in normal mode I can press j or k to bring up the history, already in normal mode in atuin as well.
    Personally I don't care for the sync feature, and for dot files I use chezmoi anyways which is more than a sync system.

    • @devopstoolbox
      @devopstoolbox  Před měsícem +1

      Don't know how I missed that 😮
      Maybe I'd have to create a followup :)

  • @Danielo515
    @Danielo515 Před měsícem

    This has been in my todo list for one year. Happy to find a hands on to motivate me

  • @SunsetNova
    @SunsetNova Před měsícem

    Recently installed atuin and it’s awesome. So so useful

  • @SB-qm5wg
    @SB-qm5wg Před měsícem +2

    I like the filter option.

  • @Dtanphat9388
    @Dtanphat9388 Před měsícem +6

    i used C-r in fzf to search history

    • @devopstoolbox
      @devopstoolbox  Před měsícem +3

      @@Dtanphat9388 I used to do it as well, this is based on the same thing

  • @sumanth3036
    @sumanth3036 Před měsícem +7

    remotely useful tool that I did not wish for

    • @devopstoolbox
      @devopstoolbox  Před měsícem +5

      @@sumanth3036 I rely heavily on my history working with cloud APIs and Kubernetes controllers, the persistency here is key for me !

    • @aditya95sriram
      @aditya95sriram Před měsícem +4

      Well, not every tool he talks about is going to be relevant/useful for everyone.
      I, personally, feel like I can really get a lot out of this tool, e.g. specifically because of the cwd-storing part.

    • @nickmills8476
      @nickmills8476 Před měsícem +2

      When your history is full of complex commands, it’s nice to know which ones were successful.

  • @1234minecraft5678
    @1234minecraft5678 Před měsícem +1

    Have not seen the vid yet, but i think fzf has a great way to navigate through the history

    • @devopstoolbox
      @devopstoolbox  Před měsícem

      @@1234minecraft5678 this is based on the fzf concept (which was my tool of choice till this one) but atuin adds persistency, filtering and bunch of other cool features

    • @kaam_karlo-xz8nj
      @kaam_karlo-xz8nj Před 21 dnem

      @@devopstoolbox FYI zsh with fzf and fzf-tab does have filtering, fuzzy search, scrolling with arrow keys, pressing enter. Atuin mainly adds server, encryption. fzf is a drop in replacement for ctrl+r

    • @1234minecraft5678
      @1234minecraft5678 Před 6 dny

      @@devopstoolbox I do like the fact that we can set it up so that it logs most used commands and keeps the stats so that we can set up new aliases, while using fzf for the reverse search. i dislike their navigation, i prefer vim bindings with ctrl like in fzf, because i have that set up for everything else.

    • @1234minecraft5678
      @1234minecraft5678 Před 6 dny

      *What i dislike is that it proves, that my personal pc usage is very basic ;D i consider myself a power user, but my most used command is "clear" hell nah.

  • @maxietheboss
    @maxietheboss Před měsícem +1

    I would love to find a tool that is similar to this but that also saves the command output. As I do penetration tests it's very useful to have a history of command output as well for reporting and logging purposes. Right now I use asciinema to record a terminal session or use tmux logging, but that's just one big dump of a session instead of a searchable database.

    • @devopstoolbox
      @devopstoolbox  Před měsícem

      @@maxietheboss I can see how something like that gets quickly out of hand but if there’s something ready for the task it’s probably atuin. Maybe open an issue and ask them?
      You can also find a core maintainer here in the comments!

    • @ChrisCox-wv7oo
      @ChrisCox-wv7oo Před 25 dny

      Check out the utility script, as well as tee. Script allows you to record all of your commands and console output. Tee allows you to redirect the output of a command to a file.
      I'm not sure that I want the output of every command I ever run to be saved, that seems like a lot of noise to sift through later on.
      Sitting under maybe a bit sage and organized to a database that can be elastic searched over

  • @summerWTFE
    @summerWTFE Před měsícem +3

    Holy shit, I would never trust a random server with that kind of info.

    • @devopstoolbox
      @devopstoolbox  Před měsícem

      @@summerWTFE honestly, this was my first thought exactly. There’s no 100% guarantees but I did look into the encryption and filtering rules to skip most of the probable issues. You can skip the sync though and just use it locally like I imagine most users do

    • @mintcar
      @mintcar Před měsícem +2

      You can self host it

    • @devopstoolbox
      @devopstoolbox  Před měsícem

      @@mintcar exactly :)

  • @AlaaSaidAhmad
    @AlaaSaidAhmad Před měsícem +1

    What the fonts did you use and how did you configuration your terminal ❤ pls

    • @devopstoolbox
      @devopstoolbox  Před měsícem +1

      Hi! My font is usually jet brains mono.
      You have my full setup here: czcams.com/video/yCgieVu13VQ/video.htmlsi=54RXguXV7naPpyzt

  • @Flaviongas
    @Flaviongas Před 13 dny

    What do you use for showing the keys pressed on screen?

  • @souzaxx
    @souzaxx Před měsícem +1

    let’s gooo

  • @narenderpamu
    @narenderpamu Před měsícem

    what is the terminal used here with blur?

  • @hesperauxyo
    @hesperauxyo Před měsícem +3

    Lotta hate for this tool in the comments. I personally really like this idea.
    If I save remote history and go offline will it spool it up locally until I'm back online? If so I'mma definitely setup a server for this.

    • @elliehuxtable
      @elliehuxtable Před měsícem +2

      @@hesperauxyo it does! It’s built to be fully offline first, you can go offline for as long as you want and everything is reconciled when you get a connection

    • @hesperauxyo
      @hesperauxyo Před měsícem +1

      @@elliehuxtable badass. 👍🏻👍🏻

    • @nickmills8476
      @nickmills8476 Před měsícem +1

      Surprisingly polarizing topic, I guess because it’s so close to the core of how folks use the CLI. People have come up with their own hard fought ways to handle their own special use cases, and are resistant to listen to other possibilities. More power to the optimizers.

  • @YEM_
    @YEM_ Před měsícem

    Tell me, do you like it better than fzf?

  • @hungvx-dev
    @hungvx-dev Před měsícem +1

    Hi. What is the bluring transparent browser? czcams.com/video/Em0TdAftXAA/video.htmlm44s

    • @devopstoolbox
      @devopstoolbox  Před měsícem +1

      @@hungvx-dev sorry to disappoint this is a normal browser (Arc) with a few video editing plugins to make it look like this :)

    • @hungvx-dev
      @hungvx-dev Před měsícem +1

      @@devopstoolbox thank you. :D

  • @RuanSilva-kk1gq
    @RuanSilva-kk1gq Před měsícem +1

    seccond

  • @user-pc4i8ege55
    @user-pc4i8ege55 Před měsícem +1

    What a waste of precious screen estate! The author could have saved three lines by getting rid of pseudographics alone.

    • @ViRMiN8r
      @ViRMiN8r Před měsícem +2

      You can get the space back by setting the style to compact and disabling the help text in a config file.

    • @user-pc4i8ege55
      @user-pc4i8ege55 Před měsícem

      @@ViRMiN8r that's great. Thanks!

    • @devopstoolbox
      @devopstoolbox  Před měsícem +3

      @@user-pc4i8ege55 you can change the style to something leaner. I also prefer minimal setups and only the information that’s relevant

    • @zestynotions
      @zestynotions Před měsícem +1

      @@devopstoolbox I imagine that you also zoom in for the video thus it looks like even less screen real estate than there really is?

    • @devopstoolbox
      @devopstoolbox  Před měsícem

      @@zestynotions ah yes of course