Skip to main content
edited tags
Link
Gilles 'SO- stop being evil'
  • 838.7k
  • 198
  • 1.8k
  • 2.2k
Source Link
Philip Kirkbride
  • 10.4k
  • 29
  • 98
  • 173

How does history work in fish shell?

I'm a bash user, starting a new job at a place where people use fish shell.

I'm looking at the history command which I often use in bash. When I use it in fish I get a long list of my history which I can scroll up and down on with the arrow keys.

There are no numbers like in bash and pressing enter is the same as the down key.

How can I run a past command with fish shell's history?