iTerm up arrow autocomplete

2

Recently, the up-arrow to scroll in my bash history in iTerm 2 stopped functioning as it did before. In the past, if I started typing a command (let's say, `curl') and then pressed up, it would only cycle through my bash history that matched that prefix (similar to pressing C-r). Anyone have any idea why this might have been unset and/or how I set this back to the default?

rdshapiro

Posted 2012-06-27T14:36:35.687

Reputation: 121

1I don't think iTerm has anything to do with that. – mkaito – 2012-06-27T14:55:17.183

This rather sounds like zsh functionality – slhck – 2012-06-27T16:02:51.117

Answers

1

To invoke similar functionality in iTerm2 you will need to use the CMD+; shortcut.

The Whiz of Oz

Posted 2012-06-27T14:36:35.687

Reputation: 141

Because obviously changing the shortcut to something unintuitive is the thing to do :p – Dave Kielpinski – 2018-04-16T17:50:46.213