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 :)
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
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...
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 }
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.
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.
@@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
@@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
@@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.
*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.
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.
@@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!
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 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
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.
@@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
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.
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 :)
@@elliehuxtable amazing work! Waiting to see what comes out :)
nice tool bit overkill for me
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
I'm lucky I have a kid taking up all my weekend time otherwise I'd be doing this
@@devopstoolbox fair enough 😂
Hang in there soldier! 💪
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...
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
}
@@zehph 😅
this looks amazing! love the TUI
It is! But beyond the user interface, the persistency with a local DB is so sweet
the two of you are like 90% of the reason I’m still using nvim
@@threee1298 hell yeah brother
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.
Don't know how I missed that 😮
Maybe I'd have to create a followup :)
This has been in my todo list for one year. Happy to find a hands on to motivate me
Recently installed atuin and it’s awesome. So so useful
I like the filter option.
i used C-r in fzf to search history
@@Dtanphat9388 I used to do it as well, this is based on the same thing
remotely useful tool that I did not wish for
@@sumanth3036 I rely heavily on my history working with cloud APIs and Kubernetes controllers, the persistency here is key for me !
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.
When your history is full of complex commands, it’s nice to know which ones were successful.
Have not seen the vid yet, but i think fzf has a great way to navigate through the history
@@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
@@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
@@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.
*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.
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.
@@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!
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
Holy shit, I would never trust a random server with that kind of info.
@@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
You can self host it
@@mintcar exactly :)
What the fonts did you use and how did you configuration your terminal ❤ pls
Hi! My font is usually jet brains mono.
You have my full setup here: czcams.com/video/yCgieVu13VQ/video.htmlsi=54RXguXV7naPpyzt
What do you use for showing the keys pressed on screen?
KeyCastr?
let’s gooo
what is the terminal used here with blur?
@@narenderpamu you mean wezterm?
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.
@@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
@@elliehuxtable badass. 👍🏻👍🏻
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.
Tell me, do you like it better than fzf?
Hi. What is the bluring transparent browser? czcams.com/video/Em0TdAftXAA/video.htmlm44s
@@hungvx-dev sorry to disappoint this is a normal browser (Arc) with a few video editing plugins to make it look like this :)
@@devopstoolbox thank you. :D
seccond
What a waste of precious screen estate! The author could have saved three lines by getting rid of pseudographics alone.
You can get the space back by setting the style to compact and disabling the help text in a config file.
@@ViRMiN8r that's great. Thanks!
@@user-pc4i8ege55 you can change the style to something leaner. I also prefer minimal setups and only the information that’s relevant
@@devopstoolbox I imagine that you also zoom in for the video thus it looks like even less screen real estate than there really is?
@@zestynotions ah yes of course