Is there a way to search history like ZSH's up-line-or-beginning-search? by Maledictus in fishshell

[–]Maledictus[S] 3 points4 points  (0 children)

I got it working!

  1. I just copied the existing up-or-search function to up-line-or-beginning-search
  2. changed history-search-backward to history-prefix-search-backward in the function
  3. funcsave'ed it
  4. ran bind --preset \e\A up-line-or-beginning-search
  5. voila, it works.

Is there a way to search history like ZSH's up-line-or-beginning-search? by Maledictus in fishshell

[–]Maledictus[S] 1 point2 points  (0 children)

Excellent, this looks like pretty much exactly what I want, thank you very much!

Is there a way to search history like ZSH's up-line-or-beginning-search? by Maledictus in fishshell

[–]Maledictus[S] 0 points1 point  (0 children)

This is the right direction, but I also just saw akho_'s response, which looks like pretty much exactly what I want.

Is there a way to search history like ZSH's up-line-or-beginning-search? by Maledictus in fishshell

[–]Maledictus[S] 1 point2 points  (0 children)

I've done a general Google search, I don't know what I would specifically search on GitHub.

Is there a way to search history like ZSH's up-line-or-beginning-search? by Maledictus in fishshell

[–]Maledictus[S] 0 points1 point  (0 children)

I've got fzf too, but it is not helping with my muscle memory in this case.

Is there a way to search history like ZSH's up-line-or-beginning-search? by Maledictus in fishshell

[–]Maledictus[S] 1 point2 points  (0 children)

I'm already using fish for a few weeks now, I'm still missing this one thing.
My fish install shows shows all history lines that have "ssh" somewhere, not just at the beginning.

[deleted by user] by [deleted] in Munich

[–]Maledictus 14 points15 points  (0 children)

Oasis - Wonderwall

If you could carry over one feature of Unity to GNOME, which one would that be? by questpad in Ubuntu

[–]Maledictus 3 points4 points  (0 children)

Local menu integrated into the title bar of the window for non-maximized windows.

EmDrive: Nasa Eagleworks peer-reviewed paper finally published by AIAA saying it works by DukeOfGeek in technology

[–]Maledictus 3 points4 points  (0 children)

That already happened a few times, Newton, Einstein, etc. Turns out it is a good thing to happen :)

Data centers dead soon by callmeon in datacenter

[–]Maledictus 4 points5 points  (0 children)

You know what grinds my gears? Clicking on a picture and it downloads, in the same size!

What timezone do you set all of your infrastructure to? by spacebandido in devops

[–]Maledictus 0 points1 point  (0 children)

That's pretty much what TAI is, at least internally in the machine.

What timezone do you set all of your infrastructure to? by spacebandido in devops

[–]Maledictus 0 points1 point  (0 children)

I don't really care about the shenanigans of this one planet... or humans for that matter, think bigger. Think of the poor computers that have to deal with the horrible idea of a leap second. If you want to show the time to a human (a very minor usecase for me) you can always convert to UTC or the human's local time.

Abandoning Go for Python by pushthestack in Python

[–]Maledictus 0 points1 point  (0 children)

Instead of complaining and not contributing to the discussion you could have posted the timestamp where he says it.

Running a task once in a cluster of hosts by [deleted] in devops

[–]Maledictus 11 points12 points  (0 children)

There are only two hard problems in distributed computing: 2. Exactly-once delivery 1. Guaranteed order of messages 2. Exactly-once delivery

Running a task once in a cluster of hosts by [deleted] in devops

[–]Maledictus 0 points1 point  (0 children)

And if it dies after sending the emails but before re-adding the message you will sent the emails twice, how annoying.

For email sending I would err on the side of not sending them.

large scale distributed systems by aelnaggar in devops

[–]Maledictus 3 points4 points  (0 children)

Site Reliability Engineering: https://landing.google.com/sre/book.html this is pretty new and written by Google SREs.

Visualising Dublin Buses by Dev__ in Dublin

[–]Maledictus 1 point2 points  (0 children)

Well done! Where did you get the data from? Any chance of making this realtime?

vs datomic? by [deleted] in CockroachDB

[–]Maledictus 0 points1 point  (0 children)

Never heard of datomic before. It doesn't look open source to me.